joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484610
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7cc8
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.004bd6b2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00483fb0
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.004bd5e0
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.004b9dca
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.004b9dca
push 1
push 0
push 0
mov ecx, esi
call fcn.004b9d72
push 1
push 0
push 1
mov ecx, esi
call fcn.004b9d72
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004bd724
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x484790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7ce8
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.004bd6b2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00483fb0
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.004bd5e0
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 0x484854
cmp dword [esp + 0x40], 1
jne 0x484852
cmp ecx, eax
jge 0x484854
mov eax, ecx
cmp eax, 0xc8
jge 0x484860
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00484610
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.004bd724
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x484fd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7d53
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.004b81ea
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.004bd95a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004befef
test eax, eax
je 0x4850ec
mov ecx, dword [esp + 0x3c]
call fcn.004bd987
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 0x4850b0
push edi
mov ecx, esi
call fcn.004baf49
mov ecx, esi
call fcn.00485250
cmp dword [esp + 0x38], 1
jne 0x4850e5
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.004bb0b3
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 0x487b00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x487b33
push esi
call fcn.0048ac10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x487b2c
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 0x487bb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x487ba2
mov eax, dword [esi + 8]
test eax, eax
je 0x487b57
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 0x487b9e
cmp eax, 2
je 0x487ba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x487b4a
cmp eax, 3
je 0x487b7d
cmp eax, 1
jne 0x487b4a
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 0x487b4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x487b4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00487be0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x487bc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00487be0
add esp, 4
pop esi
ret

Function at 0x493c90
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x493d33
test eax, eax
jbe 0x493d33
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x493d33
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x493cde
xor esi, esi
jmp 0x493ce4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x493d0f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00497f40
add esi, eax
push esi
mov ebx, esi
call fcn.00497f40
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x493cf0
pop ebp
test edi, edi
pop edi
jne 0x493d33
test ebx, ebx
je 0x493d33
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a7230
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x493e75
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x493f8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x493f8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b863c
mov esi, eax
test esi, esi
je 0x493f8d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x493f8d
mov ecx, esi
call fcn.00493de0
cmp edi, eax
jge 0x493f8d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x493f13
mov dword [esp + 0x34], 1
jmp 0x493f6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x493f8d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00493360
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x49af50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x576ea4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x49af63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x49afa4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x576f4c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x49afd6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49afda
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x49afcb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x49aff8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49affc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x49afed
xor ecx, ecx
mov eax, 0x576eb4
xor ebx, ebx
mov bl, byte [ecx + 0x576f5c]
cmp byte [esp + ebx + 0x14], 0
je 0x49b027
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x576f74]
cmp byte [esp + ebx + 0x14], 0
je 0x49b03e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x49b00e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x49af97
lea edx, [esp + 0x84]
push edx
call fcn.0049b080
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4b796c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4b798e
cmp dword [edi + 0x3c], 0
jne 0x4b798e
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004c0521
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004b79bb
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b8fe0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b9018
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.004b6ff7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b6fcf
jmp 0x4b9024
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ba6d2
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 0x4ba714
call fcn.004c0521
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ba714
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ba70b
xor eax, eax
jmp 0x4ba71c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ba722
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c0a51
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c0a7f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c0a9d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c09b7
jmp 0x4c0a9d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c0a9d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c09b7
test edi, edi
mov eax, edi
jne 0x4c0a87
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x728857f4
Capabilities:
Allocate thread local storage
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x7288582d
push esi
push edi
call fcn.72887df0
mov eax, 0x72881104
mov esi, 0x72881108
mov edi, eax
cmp eax, esi
jae 0x7288582b
mov eax, dword [edi]
test eax, eax
je 0x72885824
call eax
add edi, 4
cmp edi, esi
jb 0x7288581c
pop edi
pop esi
and dword [0x7288a3a8], 0
cmp ebx, 1
jne 0x72885866
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x7288a034], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x7288585a
mov dword [0x7288a010], eax
call fcn.7288592a
call fcn.728859b1
jmp 0x72885880
test ebx, ebx
jne 0x72885871
call fcn.7288588d
jmp 0x72885880
cmp ebx, 2
je 0x72885880
cmp ebx, 3
jne 0x72885880
call fcn.728858e0
xor eax, eax
inc eax
pop ebx
leave
ret 0xc
Function at 0x728877cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x30
mov dword [esp + 0x28], edx
mov dword [esp], ecx
cmp dword [esp], 0
jne 0x728877f5
mov dword [esp + 0x10], 0
mov dword [esp + 4], 1
jmp 0x728878df
mov eax, dword [esp]
mov ecx, dword [esp]
add eax, dword [ecx + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x24]
add eax, dword [ecx + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x18]
jb 0x72887840
mov dword [esp + 4], 2
jmp 0x728878c8
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
add eax, dword [ecx + edx*4]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
call fcn.7288773f
test al, 1
jne 0x72887865
jmp 0x728878a5
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 1
jmp 0x728878ad
mov dword [esp + 4], 0
cmp dword [esp + 4], 0
jne 0x728878c6
jmp 0x728878b6
mov eax, dword [esp + 8]
add eax, 1
mov dword [esp + 8], eax
jmp 0x72887826
jmp 0x728878c8
cmp dword [esp + 4], 2
jne 0x728878df
mov dword [esp + 0x10], 0
mov dword [esp + 4], 1
mov eax, dword [esp + 0x10]
add esp, 0x30
pop esi
ret

Function at 0x72887cc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7288a3dc]
test eax, eax
jne 0x72887ced
call fcn.72887bdf
mov dword [0x7288a3dc], eax
test eax, eax
jne 0x72887ced
mov eax, 0x72880000
mov dword [0x7288a3dc], eax
mov ecx, dword [ebp + 8]
sar ecx, 4
inc ecx
movzx ecx, cx
push 6
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x72887d0c
mov eax, 0x728811c8
pop ebp
ret
push eax
push dword [0x7288a3dc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x72887d24
mov eax, 0x728811cc
pop ebp
ret
mov ecx, dword [ebp + 8]
and ecx, 0x8000000f
jns 0x72887d34
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x72887d40
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x72887d36
cmp word [eax], 0
jne 0x72887d4d
mov eax, 0x728811d0
pop ebp
ret
add eax, 2
pop ebp
ret

Function at 0x72887da8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x72887db2
repz ret
jmp fcn.72887fb4
Function at 0x4013b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4783eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x94], ecx
push 0x44
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.0044fff0
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0044fff0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov ecx, dword [ebp + 8]
call fcn.004018c0
add eax, 1
push eax
call fcn.00469598
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
call fcn.004018a0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00450560
add esp, 8
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
call fcn.00401660
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.004018a0
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.004018a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne dl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.004017d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.0046959d
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.004018a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret
Function at 0x406700
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4b0b90]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0x10]
call fcn.00403830
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.004066b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x406760
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x10]
call fcn.00406540
mov eax, dword [ebp - 0x11c]
jmp 0x4067f1
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4067c6
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406700
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4067bd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x10]
call fcn.00406540
mov eax, dword [ebp - 0x120]
jmp 0x4067f1
mov dword [ebp - 4], 0x100
jmp 0x406767
lea ecx, [ebp - 0x10]
call fcn.00406600
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.004065c0
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x10]
call fcn.00406540
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045045c
mov esp, ebp
pop ebp
ret 4
Function at 0x406ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 1
jne 0x406ef6
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x40b230
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov eax, dword [0x4b0b90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x264], 0
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x260]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.004018c0
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.0040b7d0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x40b29f
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.0040b750
push 0x490468
mov ecx, dword [ebp + 8]
call fcn.00409660
lea ecx, [ebp - 0x264]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408f20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40b3d7
mov edx, dword [ebp - 0x264]
and edx, 0x10
je 0x40b3ad
push 0x490470
lea eax, [ebp - 0x238]
push eax
call fcn.00451c4e
add esp, 8
test eax, eax
je 0x40b3ad
push 0x490474
lea ecx, [ebp - 0x238]
push ecx
call fcn.00451c4e
add esp, 8
test eax, eax
je 0x40b3ad
push str.common
lea edx, [ebp - 0x238]
push edx
call fcn.00451c4e
add esp, 8
test eax, eax
je 0x40b3ad
lea eax, [ebp - 0x238]
push eax
call fcn.00451687
add esp, 4
push eax
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.USER32.dll_CharLowerBuffW]
lea edx, [ebp - 0x238]
push edx
call fcn.00451687
add esp, 4
cmp eax, 2
je 0x40b373
lea eax, [ebp - 0x238]
push eax
call fcn.00451687
add esp, 4
cmp eax, 5
jne 0x40b3ad
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0040ca70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x280]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040b8b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00408f00
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b2cf
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0040b870
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045045c
mov esp, ebp
pop ebp
ret