joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100412c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008e198
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x100412f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x1004140c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1004130d
mov eax, 0xffffffc7
jmp 0x1004140e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1004131e
cmp dword [esi + 8], eax
jne 0x1004130d
cmp dword [esi + 8], eax
jne 0x10041337
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10041337
mov eax, 0xffffffc7
jmp 0x1004140e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1004134b
push eax
mov ecx, ebx
call fcn.10040af0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.10016600
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1004137c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.10016620
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10040260
test eax, eax
mov dword [esp + 0x38], eax
je 0x100413af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100b5a08
call fcn.10016800
mov eax, dword [esp + 0x38]
jmp 0x1004140e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10041120
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x100413f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10041140
mov esi, eax
test esi, esi
jne 0x10041423
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10041120
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x100413c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100b5a08
call fcn.10016800
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100b5a08
call fcn.10016800
mov eax, esi
jmp 0x1004140e

Function at 0x10045e10
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10045e70
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10045e70
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10045e70
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10045e70
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10045eb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10051990
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1008ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.10087b11
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.100512f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10087a3f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1008431a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1008431a
push 1
push 0
push 0
mov ecx, esi
call fcn.100842c2
push 1
push 0
push 1
mov ecx, esi
call fcn.100842c2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10087b83
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10051b10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1008eaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.10087b11
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.100512f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.10087a3f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10051bd4
cmp dword [esp + 0x40], 1
jne 0x10051bd2
cmp ecx, eax
jge 0x10051bd4
mov eax, ecx
cmp eax, 0xc8
jge 0x10051be0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10051990
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10087b83
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x100523e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1008eb53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10082752
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10087db9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100892d5
test eax, eax
je 0x100524fc
mov ecx, dword [esp + 0x3c]
call fcn.10087de6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100524c0
push edi
mov ecx, esi
call fcn.1008543c
mov ecx, esi
call fcn.100526a0
cmp dword [esp + 0x38], 1
jne 0x100524f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10085577
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x100546e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10054713
push esi
call fcn.10062aa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005470c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10054799
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10054782
mov eax, dword [esi + 8]
test eax, eax
je 0x10054737
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005477e
cmp eax, 2
je 0x10054782
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005472a
cmp eax, 3
je 0x1005475d
cmp eax, 1
jne 0x1005472a
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 0x1005472a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005472a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100547c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100547a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100547c0
add esp, 4
pop esi
ret

Function at 0x10055040
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10055061
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10055061
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10055061
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100554b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100554bb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100555be
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100b76c8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b76c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b76c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b76c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b76c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100b76c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100b76c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b76c8]
xor eax, edx
inc ecx
dec edi
jne 0x100554d6
pop edi
test esi, esi
je 0x100555e0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100b76c8]
xor eax, edx
inc ecx
dec esi
jne 0x100555c2
pop esi
pop ebx
not eax
ret
Function at 0x1006f930
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1008ee7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.10081211
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1006fa02
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1006f99a
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100811a3
xor eax, eax
jmp 0x1006fa52
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1006f9b5
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1006fa06
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1006fa06
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.100719d3
add esp, 8
test eax, eax
je 0x1006f9fe
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1006f9d7
jmp 0x1006fa06
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1006fa26
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100811a3
xor eax, eax
jmp 0x1006fa52
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100811a3
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8

Function at 0x1008352d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10083565
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100815fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100815d6
jmp 0x10083571
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10084c22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10084c64
call fcn.1008a5bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10084c64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10084c5b
xor eax, eax
jmp 0x10084c6c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10084c72
pop edi
pop esi
pop ebx
ret 4
Function at 0x401030
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x442304
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x454714]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454714]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov esi, 0x6400000
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
cmp ebx, eax
jbe 0x4010f7
jmp 0x4010c2
xor eax, eax
lea ecx, [edi + esi]
cmp ecx, ebx
jbe 0x4010cd
mov esi, ebx
sub esi, edi
push esi
push eax
push ebp
call fcn.0042e630
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
add esp, 0xc
push esi
push ebp
call eax
push ebp
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.004011d0
add edi, esi
cmp edi, ebx
jb 0x4010c0
lea esi, [esp + 0x24]
lea ecx, [esp + 0x7c]
call fcn.00401270
call fcn.0040e3ee
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40111e
push 0x80004005
call fcn.004022f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebp, 1
mov dword [esp + 0x98], ebp
mov ebx, dword [esp + 0x20]
push 0x4491b0
mov ecx, ebx
call fcn.00402210
mov dword [esp + 0x1c], ebp
xor esi, esi
movzx ecx, byte [esp + esi + 0x7c]
push ecx
lea edx, [esp + 0x1c]
push str._02X
push edx
call fcn.00401c10
mov edi, dword [esp + 0x24]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, ebx
call fcn.00401a30
add esi, ebp
cmp esi, 0x10
jl 0x401150
lea eax, [edi - 0x10]
mov byte [esp + 0x98], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4011a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0042c68f
add esp, 0x88
ret 8

Function at 0x401c30
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 0x401c49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401c84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401c80
lea ebx, [ebx]
cmp esi, eax
jae 0x401c84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401c70
cmp esi, eax
jb 0x401c8a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x404b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebp
mov ebp, dword [esp + 0x6c]
cmp dword [ebp + 0x14c], 0
push esi
push edi
mov dword [esp + 0xc], 0x40c
mov dword [esp + 0x10], 0x40d
mov dword [esp + 0x14], 0x40f
mov dword [esp + 0x18], 0x410
mov dword [esp + 0x1c], 0x411
mov dword [esp + 0x20], 0x412
mov dword [esp + 0x24], 0x429
mov dword [esp + 0x28], 0x413
mov dword [esp + 0x2c], 0x414
mov dword [esp + 0x30], 0x415
mov dword [esp + 0x34], 0x416
mov dword [esp + 0x38], 0x417
mov dword [esp + 0x3c], 0x42a
mov dword [esp + 0x40], 0x419
mov dword [esp + 0x44], 0x41a
mov dword [esp + 0x48], 0x41b
mov dword [esp + 0x4c], 0x41c
mov dword [esp + 0x50], 0x41d
mov dword [esp + 0x54], 0x42b
mov dword [esp + 0x58], 0x427
mov dword [esp + 0x5c], 0x402
mov dword [esp + 0x60], 0x403
mov dword [esp + 0x64], 0x404
mov dword [esp + 0x68], 0x409
mov dword [esp + 0x6c], 0x40a
mov edi, 0x19
jne 0x404c55
mov edi, 0x13
xor esi, esi
test edi, edi
jle 0x404c93
push ebx
xor ebx, ebx
cmp byte [esp + 0x7c], bl
sete bl
mov eax, dword [esp + esi*4 + 0x10]
push ebx
push eax
mov ecx, ebp
call fcn.004184ef
mov ecx, eax
call fcn.004186e5
inc esi
cmp esi, edi
jl 0x404c65
movzx ecx, byte [esp + 0x7c]
pop ebx
pop edi
pop esi
mov dword [ebp + 0xa0], ecx
pop ebp
add esp, 0x64
ret 8
movzx edx, byte [esp + 0x78]
pop edi
pop esi
mov dword [ebp + 0xa0], edx
pop ebp
add esp, 0x64
ret 8

Function at 0x4058f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441d4d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x454714]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00406790
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.004068c0
lea edi, [esi + 0x30]
push edi
mov byte [esp + 0x18], 1
call fcn.00406790
lea eax, [esi + 0x48]
push eax
mov byte [esp + 0x18], 2
call fcn.004076e0
mov eax, esi
mov byte [esp + 0x14], 3
call fcn.004067f0
mov eax, edi
call fcn.00406b40
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x405cc0
Capabilities:
Get number of processors
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x44269b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454714]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x30], ebx
test eax, 0xfffffffc
jle 0x405e45
mov eax, ebp
call fcn.00406c20
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x405e2b
push 0x195c
call fcn.0040e3a9
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x405d5a
call fcn.00411a62
cmp eax, ebx
je 0x405d47
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, ebx
jne 0x405d4b
xor eax, eax
jmp 0x405d4e
mov eax, dword [eax + 0x20]
push eax
mov ecx, esi
mov edx, edi
call fcn.004084e0
mov ebx, eax
mov esi, dword [esp + 0x34]
lea eax, [ebx + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp dword [ebx + 0xf64], 1
mov ecx, 0x39e
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jne 0x405dac
mov ecx, dword [ebx + 0x1180]
mov edx, dword [ebx + 0x172c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebx + 0x13a0]
mov dword [ebx + 0x1c], edx
mov edx, dword [ebx + 0x139c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], edx
mov dword [eax], 1
push 0
push 4
push 0
push 0
push ebx
push 0x40dab0
call fcn.004124f6
test eax, eax
je 0x405e1c
lea esi, [ebp + 0x18]
mov dword [eax + 0x28], 0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x405ddc
xor ecx, ecx
jmp 0x405de4
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x405dfc
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x405e2b
cmp edx, edi
jbe 0x405e05
call fcn.0042d322
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, esi
call fcn.004073b0
jmp 0x405e2b
push ebx
call fcn.00408760
push ebx
call fcn.0040e3e3
add esp, 4
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x30]
inc ebx
sar edx, 2
cmp ebx, edx
mov dword [esp + 0x30], ebx
jl 0x405d02
push 0
push 0
push 0
push 0
lea esi, [ebp + 0x18]
push esi
push 0x40daf0
call fcn.004124f6
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor ebx, ebx
test eax, 0xfffffffc
jle 0x405ea1
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ebx, [ebx]
mov eax, esi
call fcn.00406990
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
push ecx
call ebp
push 0xa
call edi
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
inc ebx
sar edx, 2
cmp ebx, edx
jl 0x405e80
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8