joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e90
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x42de48]
test eax, eax
jne 0x401ecd
lea eax, [esp]
push eax
push 0xf0000
push 0
push 0x4020a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x42de48], eax
jne 0x401ec0
pop ecx
ret
push str._Create_hook_Thread__
call fcn.00402660
add esp, 4
mov ecx, dword [0x42e8c8]
push esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 0x1a
push ecx
mov dword [0x42de58], 0x1a
call esi
push str.Set_Timer_1
mov dword [0x42de58], eax
call fcn.00402660
mov edx, dword [0x42e8c8]
add esp, 4
push 0
push 0x3e8
push 1
push edx
call esi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x401f20
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x42de48]
test eax, eax
je 0x401f55
push str.Terminate_hook_Thread__
call fcn.00402660
push 0
call fcn.00402150
mov eax, dword [0x42de48]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x42de48], 0
mov eax, dword [0x42de58]
push esi
mov esi, dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401f79
mov ecx, dword [0x42e8c8]
push eax
push ecx
call esi
mov dword [0x42de58], 0
mov edx, dword [0x42e8c8]
push 1
push edx
call esi
mov eax, 1
pop esi
ret

Function at 0x402150
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
je 0x402209
mov eax, dword [0x42ddf8]
test eax, eax
jne 0x40217e
push str.SpyMSN
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x42ddf8], eax
jne 0x40217e
pop edi
pop esi
ret
mov ecx, dword [0x42de5c]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ecx, ecx
jne 0x4021c4
push 0
push eax
push str.SpyGetMsgProc
push eax
call edi
push eax
push 3
call esi
test eax, eax
mov dword [0x42de5c], eax
jne 0x4021bf
push str.SetWindowsHookEx_:_hhkGetMessage_fail_
call fcn.00402660
add esp, 4
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [0x42ddf8]
mov ecx, dword [0x42de60]
test ecx, ecx
jne 0x402255
push 0
push eax
push str.SpyCallWndProc
push eax
call edi
push eax
push 4
call esi
test eax, eax
mov dword [0x42de60], eax
jne 0x402255
push str.SetWindowsHookEx_:_hhkCallWndProc_fail_
call fcn.00402660
mov eax, dword [0x42de5c]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [0x42de5c]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x402225
push eax
call esi
mov dword [0x42de5c], 0
mov eax, dword [0x42de60]
test eax, eax
je 0x40223b
push eax
call esi
mov dword [0x42de60], 0
mov eax, dword [0x42ddf8]
test eax, eax
je 0x402255
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x42ddf8], 0
pop edi
mov eax, 1
pop esi
ret
Function at 0x402a80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push str.M2000MntWndClass
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x402aa5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 0x10
push str.StillMnt.ini
push edi
push str.DebugMode
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x321
mov dword [0x42e8cc], eax
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], 3
push esi
mov dword [esp + 0x38], 0x402c80
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_RegisterClassA]
mov ebp, 6
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], str.M2000MntWndClass
call ebx
push edi
push esi
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x4299a0
push str.M2000MntWndClass
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [0x42e8c8], eax
jne 0x402b68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 0x10
cmp dword [0x42e8cc], edi
je 0x402b74
push 5
jmp 0x402b75
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x42e8c8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x42e8c8]
push edx
call fcn.00402810
add esp, 4
mov dword [0x42e8dc], edi
mov dword [0x42e8d0], edi
call fcn.00402360
call fcn.00402e10
test eax, eax
jne 0x402bec
push str.StillMnt_Init_fail
call fcn.00402660
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x3e8
call esi
push str.Window_will_be_closed...
call fcn.00402660
add esp, 4
push 0x7d0
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 0x10
mov eax, dword [0x42e8c0]
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], str.SpyHookClass
mov dword [esp + 0x74], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0x401f90
mov dword [esp + 0x64], 8
mov dword [esp + 0x60], edi
call ebx
push edi
push edi
lea edx, [esp + 0x18]
mov dword [0x42e8c0], esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edx
call esi
test eax, eax
je 0x402c6e
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call ebp
push edi
push edi
lea edx, [esp + 0x18]
push edi
push edx
call esi
test eax, eax
jne 0x402c52
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10
Function at 0x402e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
push str.StillMnt_Init
call fcn.00402660
mov eax, 4
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call fcn.00402960
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.M2000MntLaunchap
mov dword [0x42e784], eax
call esi
push str.M2000MntSnapshot
mov dword [0x42e678], eax
call esi
push str.M2000MntTwnActive
mov dword [0x42e674], eax
call esi
push str.M2000MntTwnInactive
mov dword [0x42e670], eax
call esi
mov dword [0x42e66c], eax
call fcn.004049b0
push eax
push str.MaxPics___d
mov dword [0x42e67c], eax
call fcn.00402660
mov eax, dword [0x42e67c]
lea eax, [eax + eax*2]
shl eax, 4
push eax
call fcn.0041aa7d
mov edi, eax
xor esi, esi
add esp, 0xc
cmp edi, esi
mov dword [0x42e8e0], edi
jne 0x402eae
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, dword [0x42e67c]
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x42e8c8]
push eax
call fcn.004028d0
mov dword [0x42e8b8], eax
mov ecx, 0x41
xor eax, eax
mov edi, 0x42e78c
push str.VID_0402PID_5602
push 0x42e78c
rep stosd dword es:[edi], eax
call fcn.00403f70
add esp, 0xc
push 0x42e78c
push str.DevInstanceName___s
call fcn.00402660
add esp, 8
lea ecx, [esp + 8]
mov dword [0x42e648], esi
push ecx
push 0xf003f
push esi
push str.SoftwareWebCamM2000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402f67
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push 0x42e648
push eax
push esi
push str.MSNNotifySupport
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402f5a
mov dword [0x42e648], esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402f6d
mov dword [0x42e648], esi
push 0x42e78c
call fcn.00403ba0
add esp, 4
cmp eax, esi
mov dword [0x42e8bc], eax
je 0x402fb7
push str.Device_connect..
call fcn.00402660
add esp, 4
call fcn.004030b0
mov eax, dword [0x42e8bc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42e648]
mov dword [0x42e8bc], esi
cmp eax, esi
je 0x402fc4
call fcn.00401e90
jmp 0x402fc4
push str.Device_disconnect..
call fcn.00402660
add esp, 4
mov dword [0x42e668], esi
mov dword [0x42e664], esi
mov dword [0x42e660], esi
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x4030b0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push str.DeviceStatus
push str.SoftwareWebCamM2000
call fcn.00406290
mov eax, dword [0x42e8d4]
add esp, 0xc
test eax, eax
jne 0x40313a
push str.CreatePollingThread
call fcn.00402660
add esp, 4
mov dword [0x42e8e8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x42e8d8], eax
jne 0x403109
push str.Create_event_fail
call fcn.00402660
add esp, 4
lea eax, [esp]
push eax
push 0
push 0
push 0x4031d0
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x42e8d4], eax
jne 0x40313a
push str.Create_thread_fail
call fcn.00402660
add esp, 4
pop ecx
ret
Function at 0x4032a0
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
push str.DeviceStatus
push str.SoftwareWebCamM2000
call fcn.00406210
mov eax, dword [esp + 0x14]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x4032cd
pop edi
mov eax, 1
pop esi
pop ecx
ret
mov edi, 1
push str.StillMnt.ini
push edi
push str.PollDevice
push str.Snapshot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x4032f2
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0x42e78c
call fcn.00403ba0
add esp, 4
cmp eax, esi
mov dword [0x42e8bc], eax
jne 0x40331b
push str.Error__Can_not_create_device_handle.
call fcn.00402660
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
call fcn.00403490
dec eax
cmp eax, 0x62
ja case.0x403332.6
xor ecx, ecx
mov cl, byte [eax + 0x403428]
jmp dword [ecx*4 + 0x403410]
push str.DEV_EVENT_1
call fcn.00402660
mov edx, dword [0x42e674]
mov eax, dword [0x42e8c8]
add esp, 4
push esi
push edx
push 0x111
push eax
jmp 0x40339a
push str.DEV_EVENT_2
call fcn.00402660
add esp, 4
jmp 0x4033a0
push str.DEV_EVENT_3
call fcn.00402660
add esp, 4
jmp 0x4033a0
push str.DEV_NOT_OPEN
call fcn.00402660
mov ecx, dword [0x42e678]
mov edx, dword [0x42e8c8]
add esp, 4
push esi
push ecx
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xc8
mov dword [0x42e65c], edi
mov dword [0x42e658], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4033d9
push str.Error__Device_no_response.
call fcn.00402660
mov eax, dword [0x42e658]
add esp, 4
inc eax
mov dword [0x42e658], eax
jmp 0x4033d9
mov dword [0x42e658], esi
cmp dword [0x42e8e8], edi
jne 0x4033ec
mov dword [0x42e8e8], esi
call fcn.00403810
mov eax, dword [0x42e8bc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x42e658]
xor eax, eax
cmp ecx, 0xa
mov dword [0x42e8bc], esi
pop edi
pop esi
setl al
pop ecx
ret
Function at 0x403f70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
push 0xf003f
push 0
push str.SoftwareWebCamM2000
push 0x80000002
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403fca
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor al, al
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ebx
push ecx
push 0
push str.DeviceId
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40402e
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor al, al
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret

Function at 0x404310
Capabilities:
Get common file path

Disassembly:
sub esp, 0x80
lea eax, [esp]
push ebx
push esi
push edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.mediakaka.wav
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
pop edi
pop esi
pop ebx
add esp, 0x80
ret

Function at 0x404370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 1
push eax
push 0xf003f
push 0
push str.SoftwareWebCamM2000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4043b4
pop edi
xor al, al
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push esi
push edx
push 0
push str.LaunchApp
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret
Function at 0x4049b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
mov dword [esp + 4], 0x14
push eax
push 0x20019
push 0
push str.SoftwareWebCamM2000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404a25
mov eax, 4
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.StillImage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404a25
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
test eax, eax
jbe 0x404a25
cmp eax, 0x14
jb 0x404a2a
mov eax, 0x14
add esp, 0x10
ret

Function at 0x404a30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareWebCamM2000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404a59
xor eax, eax
add esp, 0x10
ret
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.FullImage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404a91
xor eax, eax
add esp, 0x10
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x405e40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x425198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call fcn.00401510
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test esi, esi
jne 0x405e93
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00401520
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push ebx
push edi
mov edi, dword [esp + 0x28]
push edi
call fcn.0041aa7d
mov ecx, edi
mov ebx, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push edi
lea ecx, [esi + esi*2]
push ecx
push ebx
call fcn.00401cb0
push edi
push esi
push ebx
call fcn.00401da0
mov edx, dword [esp + 0x3c]
push 0x64
push 1
push edi
push esi
push ebx
push edx
call fcn.004018e0
push ebx
call fcn.0041ab2f
add esp, 0x38
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00401520
mov ecx, dword [esp + 0x10]
pop edi
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x406210
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406241
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov eax, 4
lea edx, [esp + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x406274
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x406290
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4062b3
xor eax, eax
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4062e0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret
Function at 0x408190
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4081c0
push esi
call fcn.0040c940
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4081b9
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x408243
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x40822f
mov eax, dword [esi + 8]
test eax, eax
je 0x4081e4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x40822b
cmp eax, 2
je 0x40822f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4081d7
cmp eax, 3
je 0x40820a
cmp eax, 1
jne 0x4081d7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4081d7
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4081d7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00408270
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x408263
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00408270
add esp, 4
pop esi
ret
Function at 0x4201a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42d358
cmp edx, dword [eax]
je 0x4201c7
add eax, 8
inc ecx
cmp eax, 0x42d3e8
jl 0x4201b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42d358]
jne 0x4202f5
mov eax, dword [0x42e90c]
cmp eax, 1
je 0x4202cf
test eax, eax
jne 0x4201f8
cmp dword [0x42b254], 1
je 0x4202cf
cmp edx, 0xfc
je 0x4202f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42022f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041e5e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041e920
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x420272
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041e920
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4271dc
push edi
call fcn.00422f40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041e5e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041e5f0
lea eax, [ebp - 0xa0]
push 0x4271bc
push eax
call fcn.0041e5f0
push dword [esi + 0x42d35c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041e5f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00422ea9
add esp, 0x2c
pop edi
jmp 0x4202f5
lea eax, [ebp + 8]
lea esi, [esi + 0x42d35c]
push 0
push eax
push dword [esi]
call fcn.0041e920
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401a30
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jb 0x401ac8
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push str.Amplayer
push str.416D706C61796572
call esi
test eax, eax
je 0x401a52
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x401ac8
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call ebx
test eax, eax
je 0x401ab5
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call ebp
test eax, eax
je 0x401ac8
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push str.Amplayer
push str.416D706C61796572
call esi
push eax
call edi
test eax, eax
jne 0x401a7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x401ad0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jb 0x401b7e
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x401b07
call sub.MFC42.DLL_AfxGetThread
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x401b09
xor eax, eax
mov cl, byte [eax + 0xc0]
test cl, cl
je 0x401b7e
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x401b3c
call sub.MFC42.DLL_AfxGetThread
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x401b3e
xor eax, eax
mov bl, byte [eax + 0xc0]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x401b7a
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call edi
test eax, eax
je 0x401b7a
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
test bl, bl
jne 0x401b25
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret