joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push edi
push 0
push 0
mov edi, eax
mov eax, dword [esi + 4]
push 0xb
push eax
call ebx
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0x1304
push ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 1
jne 0x406d9b
mov edx, dword [esi + 0x24]
push 0
push edx
call ebp
mov eax, dword [0x4495b4]
mov ecx, dword [esi + 0xb4]
push eax
push ecx
call ebp
xor eax, eax
test byte [esi + 0x7c], 1
lea edx, [esp + 0x18]
push edx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x24]
push 0x133c
mov dword [esp + 0x24], 8
push eax
je 0x406de9
call ebx
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x406df4
call ebx
mov ecx, dword [esp + 0x30]
push 0
push ecx
call ebp
xor eax, eax
lea edx, [esp + 0x18]
push edx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x24]
push 0x133c
push eax
mov dword [esp + 0x28], 8
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x34]
push eax
call fcn.0041b400
mov ecx, dword [esi + 0x24]
add esp, 4
push 0
push edi
push 0x1308
push ecx
call ebx
mov eax, dword [esi + 0x50]
cmp edi, eax
jne 0x406eb6
mov dword [esi + 0x50], 0xffffffff
test edi, edi
jle 0x406e64
dec edi
push edi
jmp 0x406ec1
mov edx, dword [esi + 0x24]
push 0
push 0
push 0x1304
push edx
call ebx
test eax, eax
jg 0x406e61
mov eax, dword [esi + 4]
push 0
push 1
push 0xb
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea edi, [esi + 0xb8]
call fcn.00404af0
mov edi, esi
call fcn.00407530
mov ecx, esi
call fcn.00407ee0
jmp 0x406ec8
jge 0x406eb9
dec eax
mov dword [esi + 0x50], 0xffffffff
push eax
mov eax, esi
call fcn.00406600
mov ecx, dword [esi + 0x50]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esi + 4]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call ebx
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x406f10
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x24]
sub esp, 0x30
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1304
push eax
call edi
test eax, eax
je 0x407101
mov ecx, dword [esi + 4]
push 0
push 0
push 0xb
push ecx
call edi
mov edx, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebx
mov eax, dword [0x4495b4]
mov ecx, dword [esi + 0xb4]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x24]
xor ebp, ebp
push ebp
push ebp
push 0x1304
push edx
call edi
test eax, eax
jle 0x407039
mov ebx, 8
jmp 0x406f80
mov ecx, dword [esi + 0x24]
xor eax, eax
test byte [esi + 0x7c], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
push ebp
push 0x133c
mov dword [esp + 0x24], ebx
push ecx
je 0x406fca
call edi
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x406fd9
call edi
mov edx, dword [esp + 0x30]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x24]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
push ebp
push 0x133c
push ecx
mov dword [esp + 0x28], ebx
call edi
neg eax
sbb eax, eax
and eax, dword [esp + 0x34]
push eax
call fcn.0041b400
mov edx, dword [esi + 0x24]
add esp, 4
push 0
push 0
push 0x1304
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x406f80
mov eax, dword [esi + 0x24]
push 0
push 0
push 0x1309
push eax
call edi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
or ecx, 0xffffffff
push eax
mov dword [esi + 0x50], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esi + 4]
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [esp + 0xc]
push edx
push ebx
push 0x4e
push eax
call edi
mov eax, dword [esi + 4]
push 0
push 1
push 0xb
push eax
call edi
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea edi, [esi + 0xb8]
call fcn.00404af0
mov edi, esi
call fcn.00407530
mov edi, dword [esi + 0x60]
test edi, edi
je 0x407101
mov al, byte [esi + 0x7c]
mov cl, al
shr cl, 3
and cl, 1
movzx edx, cl
mov cl, al
shr cl, 2
and cl, 1
push edx
movzx edx, cl
mov cl, al
shr cl, 5
push edx
and cl, 1
shr al, 4
movzx edx, cl
mov ecx, dword [esi + 0x68]
and al, 1
movzx eax, al
push edx
push eax
push ecx
mov ecx, esi
call fcn.004071a0
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x40da20
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x40da4c
mov ecx, edi
mov eax, esi
call fcn.00402160
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40da73
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40da77
push ecx
push eax
call fcn.0041b493
add esp, 8
test eax, eax
jl 0x40da8d
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40da8d
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret
push 0x80070057
call fcn.004021d0
int3

Function at 0x40ddf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0041c990
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40de5a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x40de43
cmp eax, 4
jne 0x40de5a
cmp dword [esp + 8], 0x5a
jb 0x40de5a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041b3f1
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.0041b3f1
add esp, 0x118
ret
Function at 0x413c80
Capabilities:
Capture webcam image

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
call edi
cmp eax, dword [esi + 4]
je 0x413cb2
test byte [esi + 0x58], 4
je 0x413ca8
cmp dword [esi + 0xac], 0
jne 0x413ca8
call edi
mov dword [esi + 0xac], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi + 4]
push 0
push eax
push 0x419
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
push 1
push eax
call fcn.00415820
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x413cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
mov dword [edi], 0
cmp eax, 0x12
je 0x413d22
cmp eax, 0x79
jne 0x413d15
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x413d22
cmp dword [esi + 0xa8], 0x20
jne 0x413db2
cmp dword [esp + 8], 0xf100
jne 0x413db2
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x413d62
mov eax, esi
call fcn.00416240
mov eax, dword [esi + 4]
push 0
push 0xffffffffffffffff
push 0x448
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x413db2
test byte [esi + 0x84], 0x40
jne 0x413da7
mov al, byte [esi + 0x85]
test al, 2
je 0x413d8f
test al, 4
jne 0x413d8f
test al, 8
je 0x413d8f
mov al, 1
call fcn.004162d0
call fcn.00416210
and byte [esi + 0x84], 0xbf
mov dword [edi], 1
xor eax, eax
pop esi
ret 4
cmp eax, 0x20
je 0x413db2
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4
Function at 0x419750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x419760
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x419770
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x419bb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x419c25
xor eax, eax
cmp ecx, edi
je 0x419c13
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x419c33
cmp ecx, edi
je 0x419cd0
push ecx
jmp 0x419cca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x419c9e
jmp 0x419c60
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00419bb0
mov ebp, eax
cmp ebp, edi
jne 0x419ced
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x419c60
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x419cb1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x419cd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041b3f1
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x419cfc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x419cd2
Function at 0x41a740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41a793
call fcn.0040cba0
mov esi, eax
jmp 0x41a868
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41a7ac
call fcn.0040cba0
jmp 0x41a85f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41a7c6
call fcn.0040cba0
jmp 0x41a85f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x41a80f
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x41a7ea
lea eax, [esp + 0x20]
call fcn.00407cf0
lea esi, [esp + 0x14]
call fcn.0040cb80
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0041b3f1
mov esp, ebp
pop ebp
ret 0xc
lea esi, [esp + 0x20]
call fcn.004190f0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41a827
mov esi, 0x8007000e
jmp 0x41a861
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41a844
call fcn.0040cba0
jmp 0x41a85f
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
call fcn.0041a5f0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x41a880
lea eax, [esp + 0x20]
call fcn.00407cf0
jmp 0x41a880
mov ecx, dword [esp + 0x42c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b3f1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41ad10
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.0041c990
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ad6f
cmp dword [esp + 4], 6
jb 0x41ad6f
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041b3f1
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.0041b3f1
add esp, 0x118
ret
Function at 0x41b243
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x448820], 0
push esi
jne 0x41b1b6
call fcn.0041b0dc
test eax, eax
je 0x41b1f9
mov eax, dword [0x448820]
cmp eax, 1
jne 0x41b1d7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41b1f9
pop esi
ret
push eax
call dword [0x448828]
test eax, eax
jne 0x41b241
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41b1fd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x448820]
call dword [0x448828]
mov edi, eax
test edi, edi
je 0x41b222
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41b23e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x448820]
call dword [0x448824]
add edi, 0x10
cmp edi, esi
jb 0x41b22a
mov eax, edi
pop edi
pop esi
ret
jmp 0x41b1a3

Function at 0x41b3f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445030]
jne 0x41b3fb
repz ret
jmp fcn.0041cbfc

Function at 0x4229dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e368
and dword [ebp - 4], 0
cmp dword [0x449300], 0
mov ebx, eax
jne 0x422a8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422b3e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422b3e
push eax
call fcn.0041e2f6
mov dword [esp], 0x439038
push edi
mov dword [0x449300], eax
call esi
push eax
call fcn.0041e2f6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x449304], eax
call esi
push eax
call fcn.0041e2f6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x449308], eax
call esi
push eax
call fcn.0041e2f6
pop ecx
mov dword [0x449310], eax
test eax, eax
je 0x422a8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e2f6
pop ecx
mov dword [0x44930c], eax
mov eax, dword [0x44930c]
cmp eax, ebx
je 0x422ae5
cmp dword [0x449310], ebx
je 0x422ae5
push eax
call fcn.0041e371
push dword [0x449310]
mov esi, eax
call fcn.0041e371
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422ae5
test edi, edi
je 0x422ae5
call esi
test eax, eax
je 0x422adc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422adc
test byte [ebp - 0xc], 1
jne 0x422ae5
or dword [ebp + 0x10], 0x200000
jmp 0x422b1e
mov eax, dword [0x449304]
cmp eax, ebx
je 0x422b1e
push eax
call fcn.0041e371
pop ecx
test eax, eax
je 0x422b1e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422b1e
mov eax, dword [0x449308]
cmp eax, ebx
je 0x422b1e
push eax
call fcn.0041e371
pop ecx
test eax, eax
je 0x422b1e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x449300]
call fcn.0041e371
pop ecx
test eax, eax
je 0x422b3e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422b40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425c20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a228
push 0x427cfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x425c86
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x425d0f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x425cad
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x425d0f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x425ce8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x425ce8
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x425d0f
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x425d0f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425db0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x449428]
mov dword [ebp - 4], eax
jmp 0x425dc9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x425de6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x425dc0
mov esp, ebp
pop ebp
ret
Function at 0x425df0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x449438], eax
je 0x425e0e
mov eax, 0x10dd
jmp 0x425ef0
mov eax, dword [0x449448]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x425e8d
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x425e6b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x425e6b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.00425f60
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041b3e6
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x425e16
mov dword [0x449448], 0
call fcn.00425f00
mov ecx, dword [0x449444]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x425eda
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041b3e6
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x425ea5
mov dword [0x449444], 0
mov dword [0x449438], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x426460
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x426475
xor eax, eax
jmp 0x4264ea
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10000
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x4264a2
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38d
jae 0x4264e5
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x40], 0
je 0x4264e3
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x4264df
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x4264e3
xor eax, eax
jmp 0x4264ea
jmp 0x426499
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4265a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x44943c], 0
je 0x4265b9
mov eax, dword [0x44943c]
jmp 0x426659
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4265cb
xor eax, eax
jmp 0x426659
push 8
call fcn.0041c261
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x426621
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x42660a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041b3e6
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x44943c], eax
mov dword [0x449440], 0
mov eax, dword [ebp - 8]
jmp 0x426659
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x42663b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x4265eb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x449444]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x449444], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4