joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bb44
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bcef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bcd0
mov dl, 1
mov eax, dword [0x41245c]
call fcn.00403a48
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bcbf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044d298
test al, al
je 0x45bcb2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45bd00
lea eax, [ebp - 0x254]
call fcn.00409438
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bcb2
xor eax, eax
push ebp
push 0x45bcab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45bd38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bc94
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45bc94
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bcb2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bbb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416134
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bcf6
lea eax, [ebp - 0x260]
call fcn.004048a4
ret

Function at 0x45c668
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47dc94]
cmp byte [eax + 0xad], 0
jne 0x45c6d9
cmp dword [0x47dcb0], 0
jne 0x45c69a
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c624
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47dcb0], eax
cmp dword [0x47dcac], 0
jne 0x45c6b5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x47dcac], eax
cmp dword [0x47dcb4], 0
jne 0x45c6d9
push esp
push 0
push 0
push 0x45c5c8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x47dcb4], eax
pop edx
ret
Function at 0x45c8dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c8f3
add esp, 0xfffffff0
call fcn.00403d9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a288
mov eax, dword [0x478394]
cmp word [eax + 2], 0
jne 0x45c91b
mov eax, dword [0x478394]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e624
mov eax, dword [0x478450]
cmp word [eax + 2], 0
jne 0x45c935
mov eax, dword [0x478450]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e830
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412038]
call fcn.00403a48
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.00403a48
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.00403a48
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e9f4]
call fcn.00426500
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45caec
mov eax, dword [0x4782ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004268d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45eef4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4782ac]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc08
test eax, eax
je 0x45ca3c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408df0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc3c
test eax, eax
je 0x45ca50
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e0b0
call fcn.0041b404
mov dword [ebx + 0xc8], eax
mov eax, dword [0x478184]
cmp byte [eax], 0
jne 0x45caa1
mov eax, ebx
call fcn.0045cc30
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f108
mov eax, ebx
call fcn.0045fc6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cae1
call fcn.00403df4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ceb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45cf4f
cmp dword [ebx + 0x94], 0
jne 0x45cf49
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ce38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cf49
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45cf0f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cf49
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004143dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cf1e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d168
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x47dc94]
cmp dword [eax + 0x30], 0
je 0x45d2c5
test bl, bl
jne 0x45d216
cmp dword [esi + 0x9c], 0
jne 0x45d20b
mov eax, esi
call fcn.0045fae8
push eax
push 0x45d094
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d1dc
mov eax, dword [0x47dc94]
call fcn.004601c8
test al, al
je 0x45d1dc
mov eax, dword [0x47dcb8]
call fcn.004057ac
mov edi, eax
cmp edi, 0
jl 0x45d1dc
push 0
mov eax, dword [0x47dcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d1c6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d20b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004143dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d1eb
inc dword [esi + 0x9c]
jmp 0x45d2c5
cmp dword [esi + 0x9c], 0
jle 0x45d2c5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d2c5
cmp dword [esi + 0x44], 0
je 0x45d271
mov eax, dword [0x47dc94]
call fcn.004601c8
test al, al
je 0x45d271
mov eax, dword [0x47dcb8]
call fcn.004057ac
mov edi, eax
cmp edi, 0
jl 0x45d271
push 5
mov eax, dword [0x47dcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d25b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d2a0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004143dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d280
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x47dcb8
mov ecx, 1
mov edx, dword [0x45d074]
call fcn.00405960
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45ddac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45de16
mov eax, ebx
call fcn.004601c8
test al, al
jne 0x45de16
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404994
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45de03
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45de23
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f8
jmp 0x45de23
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f2ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f35a
mov eax, esi
call fcn.00447ec8
test al, al
je 0x45f35a
mov eax, dword [ebx + 0x84]
call fcn.00447b28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f35a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f34e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447b28
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f998
jmp 0x45f35a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f128
pop esi
pop ebx
ret

Function at 0x4631fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46322a
mov eax, ebx
call fcn.00463cb0
cmp dword [ebx + 0x40], 0
je 0x463223
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46329b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46328d
cmp dword [ebx + 8], 0
je 0x46324c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46325e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46328d
cmp dword [ebx + 8], 0
je 0x46323f
cmp eax, 3
je 0x463271
dec eax
jne 0x46323f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46323f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46323f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4632b9
cmp dword [ebx + 0x14], 0xcc
je 0x4632b9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004632c4
pop ebx
ret
Function at 0x473bc0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 6], cx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473dcb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov esi, 0x7ff
mov eax, 0x7fffffff
call fcn.00403178
mov edx, dword [ebp - 4]
and edx, 0x7ff
shl edx, 0x15
and ebx, 0x1f
shl ebx, 0x10
or edx, ebx
and esi, 0x7ff
shl esi, 5
or edx, esi
and eax, 0x1f
or edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0xffff
cmp di, 0x7d0
jb 0x473c59
cmp word [ebp - 6], 0xc
jae 0x473c59
sub di, 0x7d0
mov eax, edi
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
add ax, word [ebp - 6]
movzx eax, ax
shl eax, 0x10
or dword [ebp - 0x10], eax
mov eax, 0x7fffffff
call fcn.00403178
and eax, 0x1ffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
or eax, 0xffffffff
mov ebx, 0xc
lea ecx, [ebp - 0x20]
movzx edx, byte [ecx]
shl edx, 0x18
xor eax, edx
mov edx, 8
test eax, eax
jl 0x473ca3
add eax, eax
jmp 0x473caa
add eax, eax
xor eax, 0x4c11db7
dec edx
jne 0x473c9b
inc ecx
dec ebx
jne 0x473c8e
mov ebx, eax
and ebx, 0x1ffffff
mov esi, ebx
shl esi, 7
xor esi, ebx
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
xor eax, esi
xor eax, 0x87654321
mov edx, 7
call fcn.00473ae4
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
xor eax, esi
xor eax, 0x12345678
mov edx, 7
call fcn.00473ae4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
pop ecx
call fcn.00404bbc
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
movzx edx, byte [edx + 2]
call fcn.00404a8c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov edx, 5
mov eax, dword [ebp - 0x14]
call fcn.00473ae4
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
mov edx, 5
mov eax, ebx
call fcn.00473ae4
push dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, 4
call fcn.00404c38
mov eax, 0x21
call fcn.00403178
mov edx, 0x473de4
movzx ebx, byte [edx + eax - 1]
mov eax, dword [ebp + 8]
call fcn.00404d94
mov byte [eax + 2], bl
mov edx, dword [ebp + 8]
mov ecx, 6
mov eax, 0x473e10
call fcn.00404e24
mov edx, dword [ebp + 8]
mov ecx, 0xc
mov eax, 0x473e10
call fcn.00404e24
mov edx, dword [ebp + 8]
mov ecx, 0x12
mov eax, 0x473e10
call fcn.00404e24
mov edx, dword [ebp + 8]
mov ecx, 0x18
mov eax, 0x473e10
call fcn.00404e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dd2
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004048c8
ret
Function at 0x11fb054
Capabilities:
Packed with generic packer

Disassembly:
pushal
stc
jmp 0x11fb05a
call 0x11fb068
and bh, dh
adc eax, dword [edx + 0x20]
cmp al, 0xf3
sbb dword [esi + 0x5e], esi
add esi, 0xffffffa1
jmp 0x11fb07a
cmp dword [esi], 0
stc
jmp 0x11fb089
je 0x11fb0f5
clc
jae 0x11fb093
imul ecx, dword [ebx + 0x470573ce], 0x2868d708
mov ecx, esi
jae 0x11fb09c
inc edi
or bh, dl
push 0x4c68328
add esi, 4
jmp 0x11fb0aa
mov eax, dword [esi]
jmp 0x11fb0b5
add eax, esi
clc
jae 0x11fb0c0
inc ecx
xlatb
or byte [eax + 0x568b22ff], cl
add al, 0xeb
pop es
pop edx
and byte [esi], bh
inc edx
or eax, 0x2881dd59
add dl, byte [eax - 0x70]
test byte [ebx - 0x157cfb40], al
add ebx, ebp
add bl, byte [ebx + 2]
mov edx, dword [esi + 4]
jmp 0x11fb0cc
sub dword [eax], 0x84905002
add eax, 4
sub edx, 1
jmp 0x11fb0dc
jne 0x11fb0c3
add esi, 8
sub dword [ecx], 1
jne 0x11fb09f
mov ebx, esi
call fcn.011fb0fb
popal
jmp section..taggant
Function at 0x402550
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x4bf018]
xor eax, esp
mov dword [esp + 4], eax
push 0
push 0x102c
push 1
call fcn.004133d0
add esp, 0xc
mov esi, eax
mov dword [eax], 0
lea edi, [eax + 4]
mov dword [eax + 4], ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1028], ebx
mov byte [esi + 0x16], 0
mov word [esi + 0x14], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
cmp dword [0x4bf004], 0xffffffff
jne 0x402603
mov dword [0x4bfc30], 0x4bfc30
mov dword [0x4bfc34], 0x4bfc30
push 0x4bfc38
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4bf004], eax
push 0
push 0x402dc0
push eax
call fcn.00414c80
add esp, 0xc
mov eax, esp
push eax
push 0
push edi
push 0x402640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402623
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x17], 1
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046c040
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp

Function at 0x402830
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x4bf018]
xor eax, esp
mov dword [esp + 4], eax
push 0
push 0x102c
push 1
call fcn.004133d0
add esp, 0xc
mov esi, eax
mov dword [eax], 1
lea edi, [eax + 4]
mov dword [eax + 4], ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ebx
lea eax, [esi + 0x30]
push eax
call fcn.00414f20
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], esi
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
cmp dword [0x4bf004], 0xffffffff
jne 0x4028f3
mov dword [0x4bfc30], 0x4bfc30
mov dword [0x4bfc34], 0x4bfc30
push 0x4bfc38
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4bf004], eax
push 0
push 0x402dc0
push eax
call fcn.00414c80
add esp, 0xc
mov eax, esp
push eax
push 0
push edi
push 0x402930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402913
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046c040
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
Function at 0x405cc0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x270
mov edi, dword [esp + 0x284]
mov eax, dword [0x4bf018]
xor eax, esp
mov dword [esp + 0x26c], eax
lea esi, [esp + 0x25]
push 0x107
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call fcn.00480220
add esp, 4
mov word [esp + eax + 0x25], 0x2a5c
mov byte [esp + eax + 0x27], 0
lea ebx, [esp + 0x12c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x405d3a
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0x140
push ebx
call edi
add esp, 8
push ebx
push esi
call ebp
test eax, eax
jne 0x405d20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], eax
mov eax, esp
push 4
push eax
call edi
add esp, 8
lea esi, [esp + 5]
push 0x20
push esi
call fcn.00405bb0
add esp, 8
test al, al
je 0x405d73
push 0x20
push esi
call edi
add esp, 8
push 0x20
push esi
call fcn.0042efd0
add esp, 8
push edi
call fcn.004176a0
add esp, 4
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0046c040
add esp, 0x270
pop esi
pop edi
pop ebx
pop ebp

Function at 0x405da0
Capabilities:
Get memory capacity

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x4bf018]
xor eax, esp
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x2c]
push 4
push esi
push 9
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [esp + 0x2c], eax
push 4
push esi
push 0xa
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esp + 0x2c], eax
push 4
push esi
push 0xb
call fcn.00416ad0
add esp, 0xc
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 4
push eax
push 0xc
call fcn.00416ad0
add esp, 0xc
lea esi, [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
push esi
push 0xd
call fcn.00416ad0
add esp, 0xc
mov esi, esp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
push esi
push 6
call fcn.00416ad0
add esp, 0xc
lea ebp, [esp + 0x48]
lea ebx, [esp + 0x40]
lea edi, [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea esi, [esp + 0x30]
push ebp
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
push 0x20
push esi
push 0xe
call fcn.00416ad0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0x20
push esi
push 0xf
call fcn.00416ad0
add esp, 0xc
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046c040
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
Function at 0x46c89c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46c8db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46c8db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46c8db
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46c8db
cmp dword [ecx + 0x74], 0xe
jbe 0x46c8db
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x47c308
Capabilities:
Hash data using murmur3
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x4c0a2c], 0
push esi
jne 0x47c35f
cmp dword [ebp + 8], 0
jne 0x47c334
call fcn.0047b65b
mov dword [eax], 0x16
call fcn.00482a90
mov eax, 0x7fffffff
jmp 0x47c372
cmp dword [ebp + 0xc], 0
je 0x47c31d
mov esi, 0x7fffffff
cmp dword [ebp + 0x10], esi
jbe 0x47c358
call fcn.0047b65b
mov dword [eax], 0x16
call fcn.00482a90
mov eax, esi
jmp 0x47c372
pop esi
pop ebp
jmp 0x4894f0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047c375
add esp, 0x10
pop esi
pop ebp
ret

Function at 0x480be0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x480c0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x480c0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x480fe1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a1b00
push 0x4a1af8
push str.FlsAlloc
push 0x1e
call fcn.00481674
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481015
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x48101b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x48105f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a1b10
push 0x4a1b08
push str.FlsGetValue
push 0x20
call fcn.00481674
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481096
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]