joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436409
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x455440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042ea42
mov dword [ebp - 0x14], eax
cmp dword [0x457840], esi
jne 0x4364fc
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x436489
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4365dc
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4365dc
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4365dc
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x457840], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x457844], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x457848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x457850], eax
test eax, eax
je 0x4364f9
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45784c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x436521
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x436514
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x436536
push 4
pop eax
jmp 0x4365de
cmp dword [ebp - 0x14], esi
je 0x436536
push dword [0x457840]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43651b
mov eax, dword [0x45784c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x436594
cmp dword [0x457850], edi
je 0x436594
push eax
call ebx
push dword [0x457850]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x436594
test eax, eax
je 0x436594
call ecx
test eax, eax
je 0x436589
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x436589
test byte [ebp - 8], 1
jne 0x436594
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4365c4
mov eax, dword [0x457844]
cmp eax, edi
je 0x4365c1
push eax
call ebx
test eax, eax
je 0x4365c1
call eax
mov esi, eax
test esi, esi
je 0x4365c1
mov eax, dword [0x457848]
cmp eax, edi
je 0x4365c1
push eax
call ebx
test eax, eax
je 0x4365c1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x457840]
call ebx
test eax, eax
je 0x4365dc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4365de
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422df2
mov esp, ebp
pop ebp
ret
Function at 0x10099c1
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1002910
call fcn.01009be4
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10099fc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10099fc
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1009a14
cmp eax, 0x20b
je 0x1009a01
mov dword [ebp - 0x1c], edi
jmp 0x1009a28
cmp dword [ecx + 0x84], 0xe
jbe 0x10099fc
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1009a22
cmp dword [ecx + 0x74], 0xe
jbe 0x10099fc
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10226d0], 0xffffffff
or dword [0x10226d4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1020f6c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1020f68]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10226d8], eax
call fcn.01009bdc
cmp dword [0x100ce00], edi
jne 0x1009a83
push fcn.01009bdc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01009bc5
push 0x100b010
push 0x100b00c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1020f64]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1020f60]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x100b008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01004077
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1009afa
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1009b2f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01009c1f
ret

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x637a05c3
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x44cf6476
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407ac9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407b04
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x407b00
lea ebx, [ebx]
cmp esi, eax
jae 0x407b04
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407af0
cmp esi, eax
jb 0x407b0a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4084d0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0x8c]
cmp eax, edx
jne 0x408510
add eax, 0xffffffff
cmp eax, edx
ja 0x408501
test eax, eax
mov esi, dword [esi + 0xd4]
jbe 0x4084fc
sub eax, 1
mov esi, dword [esi + 8]
jne 0x4084f4
mov ecx, dword [esi + 4]
jmp 0x408503
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push 0
call fcn.00438e36
lea ecx, [eax - 1]
cmp ecx, edx
ja 0x40852e
test ecx, ecx
mov eax, dword [esi + 0xd4]
jbe 0x408529
sub ecx, 1
mov eax, dword [eax + 8]
jne 0x408521
mov eax, dword [eax + 4]
jmp 0x408530
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
test al, al
je 0x40856c
add dword [esi + 0x90], 1
mov eax, dword [esi + 0x90]
push eax
mov ecx, esi
call fcn.00408080
mov ecx, dword [esi + 0x90]
sub ecx, 1
push ecx
mov ecx, esi
call fcn.00407c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
pop esi
jmp eax
pop esi
ret
Function at 0x40aa80
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
push 0x45b2d0
push eax
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40aabb
mov ecx, dword [0x46f56c]
push 0x10
push 0x4598f8
push ecx
mov ecx, edi
call fcn.00424013
pop edi
xor al, al
pop esi
pop ecx
ret 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40aae5
mov edx, dword [0x46f56c]
push 0x10
push 0x4598f8
push edx
mov ecx, edi
call fcn.00424013
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x40ab14
mov eax, dword [0x46f56c]
push 0x10
push 0x4598f8
push eax
mov ecx, edi
call fcn.00424013
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor edi, edi
test esi, esi
jbe 0x40ab7e
mov ebp, dword [esp + 0x18]
mov eax, 0x400
sub eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x40ab3b
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, esi
push ebp
push 1
ja 0x40ab6c
push 0x400
push ebx
call fcn.00439a5a
add edi, 0x400
add esp, 0x10
add ebx, 0x400
cmp edi, esi
jb 0x40ab37
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x18]
sub esi, edi
add edi, ecx
push esi
push edi
call fcn.00439a5a
add esp, 0x10
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x40af40
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40af73
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x40aec0
push 0
push 0
call fcn.0043b076
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
mov byte [esi + 0x1c], 0
mov byte [esi + 0x1d], 0
setne al
pop esi
ret
cmp byte [esi + 0x1d], 0
je 0x40af90
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x40af8c
xor al, al
pop esi
ret
mov byte [esi + 0x1d], 0
mov al, 1
pop esi
ret
Function at 0x40b050
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4566f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebp, eax
call fcn.0041c482
add esp, 4
mov ebx, eax
push ebx
push ebp
mov dword [ebx], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40b1d4
call fcn.00427e3b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b0be
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x24]
push edi
lea ecx, [esp + 0x18]
push 0x45b2dc
push ecx
mov dword [esp + 0x2c], 0
call fcn.00409910
mov ecx, dword [str.ui_launch_dx_bak.exe]
xor eax, eax
add esp, 0xc
test ecx, ecx
setne al
test eax, eax
jne 0x40b107
push 0x80004005
call fcn.004010a0
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.0043af69
add esp, 8
test eax, eax
sete al
test al, al
je 0x40b158
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40b1b0
push edi
lea ecx, [esp + 0x18]
push 0x45b2dc
push ecx
call fcn.00409910
mov eax, dword [str.ui_launch_dx_bak.exe]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
test ecx, ecx
je 0x40b0b4
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.0043af69
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40b11e
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b163
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40bc40
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x456688
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xbc]
xor ebx, ebx
cmp esi, ebx
je 0x40bc92
cmp byte [esi + 0x1c], bl
jne 0x40bc92
cmp byte [esi + 0x1d], bl
jne 0x40bc92
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x40bc92
mov byte [esi + 0x1d], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ebp, 0x10
cmp dword [edi + 0xb4], ebp
mov dword [esp + 0x30], ebx
jb 0x40bcb7
mov eax, dword [edi + 0xa0]
jmp 0x40bcbd
lea eax, [edi + 0xa0]
push 1
push ebx
push ebx
push 0x45b4f4
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404300
add esp, 0x18
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40bd2c
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x40bd2c
push esi
lea ecx, [esp + 0x1c]
call fcn.00402ec0
cmp dword [eax + 0x18], ebp
jb 0x40bd1b
mov eax, dword [eax + 4]
push eax
call fcn.0041b190
add esp, 4
add esi, 1
jmp 0x40bcd6
add eax, 4
push eax
call fcn.0041b190
add esp, 4
add esi, 1
jmp 0x40bcd6
cmp dword [edi + 0xb4], ebp
jb 0x40bd3c
mov eax, dword [edi + 0xa0]
jmp 0x40bd42
lea eax, [edi + 0xa0]
push eax
call fcn.0041b060
mov esi, dword [edi + 0xbc]
add esp, 4
cmp esi, ebx
je 0x40bda9
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x14], 0x103
jne 0x40bd8a
mov ecx, dword [esi + 0xc]
push 0x103
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebx
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1c], 1
mov ecx, dword [edi + 0xbc]
cmp ecx, ebx
je 0x40bda3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 0xbc], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40bdd3
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.00402450
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041c4ad
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40bdf0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4566c0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040bc40
mov ecx, dword [esi + 0x98]
lea eax, [esp + 0x10]
push eax
call fcn.00408df0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0
call fcn.0040f8a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.0040fe80
test al, al
jne 0x40be78
push 0
push 0x10
push 0x45b50c
call fcn.0041fa7d
push 1
call fcn.00438e36
push str.config
lea ecx, [esp + 0x18]
call fcn.0040f280
test eax, eax
jne 0x40be9e
push eax
push 0x10
push 0x45b4f8
call fcn.0041fa7d
push 1
call fcn.00438e36
push str.auto_patch_client
mov ecx, eax
call fcn.0040f540
mov edi, eax
push str.current
push edi
call fcn.0040e480
add esp, 8
test eax, eax
je 0x40bf50
mov ebp, dword [str.1.5.8]
mov ecx, ebp
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bef0
test dl, dl
je 0x40beec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bed0
xor eax, eax
jmp 0x40bef5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bf14
push ebp
push str.current
mov ecx, edi
call fcn.0040f640
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.0040e580
mov eax, dword [esi + 0xe0]
push 0
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x98]
push 1
add ecx, 0xd8
call fcn.004222de
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x98]
call fcn.004084d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.00401ab0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x7c], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00438282
add esp, 0x70
ret
Function at 0x40d790
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4569d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x40d7e4
mov ecx, dword [esi + 0x74]
call fcn.0041d702
mov ecx, dword [esi + 0x74]
cmp ecx, edi
je 0x40d7db
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x74], edi
mov dword [esi + 0x8c], edi
mov ebx, dword [esp + 0x3c]
cmp ebx, edi
mov dword [esi + 0x90], edi
je 0x40d84b
push 8
call fcn.0041c482
add esp, 4
cmp eax, edi
je 0x40d80b
mov dword [eax + 4], edi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
mov dword [esi + 0x74], edi
call fcn.00422074
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0041d6af
test eax, eax
je 0x40d918
mov eax, 1
mov ecx, esi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.0040ce40
jmp 0x40d913
mov ebx, dword [esp + 0x40]
push 0x2050
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebp, eax
cmp ebp, edi
jne 0x40d877
push edi
push edi
push 0x45ba90
call fcn.0041fa7d
push edi
call fcn.00438e36
push ebp
call fcn.0041d6a1
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp word [esp + 0x26], 0x18
je 0x40d905
call fcn.00427e3b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40d8b0
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x26]
push ecx
push ebx
lea edx, [esp + 0x44]
push str._s__i
push edx
mov dword [esp + 0x44], edi
call fcn.00409910
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d905
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.0041d6a1
push eax
mov ecx, esi
call fcn.0040d450
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x40f8a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x456bd3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x14]
mov eax, 0xf
mov dword [edi + 0x18], eax
mov byte [edi + 4], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov dword [esp + 0x20], ebx
mov byte [esi + 0x44], bl
mov edx, dword [esp + 0x28]
mov eax, edx
mov byte [esp + 0x20], 1
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40f911
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.00401e20
mov byte [esi + 0x38], bl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x412d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x412d1b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x412e17
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x412d40
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d8c0]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x412d40
pop ebp
test edi, edi
je 0x412e3c
jmp 0x412e20
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x45d8c0]
add ecx, 1
sub edi, 1
jne 0x412e20
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x412e50
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45d8c0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x45d8c0]
mov dword [edx + 8], ecx
ret

Function at 0x412ea0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [esp + 0x10]
shr edx, 8
xor al, dl
mov edx, dword [esi]
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45d8c0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x45d8c0]
mov dword [esi + 8], ecx
pop esi
pop ebx
ret