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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push dword [esi + 4]
call edi
cmp byte [0x54b188], 0
mov eax, dword [esi + 4]
push 0x1bc
push eax
je 0x4b530f
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call edi
jmp 0x4b5322
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
and dword [esi + 0x48], 0
lea edx, [esi + 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x14]
mov dword [esi + 0x50], eax
mov esi, dword [esi + 0x24]
test esi, esi
je 0x4b534c
mov ecx, dword [esi + 4]
call fcn.004679c0
pop edi
pop esi
leave
ret

Function at 0x4b55c3
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4b5583
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [ebp - 4], 2
setle al
leave
ret

Function at 0x4b5f19
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x54afd4], 0
push esi
mov esi, ecx
je 0x4b5fbe
push esi
lea eax, [ebp - 8]
push str.TMP_s
push eax
call fcn.0048ee25
add esp, 0xc
mov ecx, eax
call fcn.0048e806
mov ecx, eax
call fcn.0048c00a
push eax
call sub.MSVCRT.dll__wputenv
pop ecx
lea ecx, [ebp - 8]
call fcn.0048e50a
push esi
lea eax, [ebp - 8]
push str.TEMP_s
push eax
call fcn.0048ee25
add esp, 0xc
mov ecx, eax
call fcn.0048e806
mov ecx, eax
call fcn.0048c00a
push eax
call sub.MSVCRT.dll__wputenv
pop ecx
lea ecx, [ebp - 8]
call fcn.0048e50a
push esi
lea eax, [ebp - 4]
push 0x50614c
push eax
mov byte [0x544ff8], 0
call fcn.0048ee25
add esp, 0xc
push 0
lea ecx, [ebp - 4]
call fcn.0048e806
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 4]
call fcn.0048e50a
pop esi
leave
ret
Function at 0x4bdefc
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 5
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x44]
push 0x254
sub edx, eax
push edx
mov edx, dword [esi + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x4be2e6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [esi], 0x51259c
call fcn.0048e50a
mov ecx, esi
pop esi
jmp fcn.0041e00f

Function at 0x4c0288
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov esi, ecx
call fcn.004c01e5
lea eax, [esi + ebx*4 + 0x10c]
mov edi, dword [eax]
mov dword [ebp - 4], eax
test edi, edi
jne 0x4c030d
cmp ebx, 7
ja case.default.0x4c02b5
jmp dword [ebx*4 + 0x4c037c]
mov ecx, esi
call fcn.004d855e
jmp 0x4c0302
mov ecx, esi
call fcn.004dd4b3
jmp 0x4c0302
mov ecx, esi
call fcn.004d9755
jmp 0x4c0302
mov ecx, esi
call fcn.004d9c97
jmp 0x4c0302
mov ecx, esi
call fcn.004d6ac9
jmp 0x4c0302
mov ecx, esi
call fcn.004dca5f
jmp 0x4c0302
mov ecx, esi
call fcn.004d8d5c
jmp 0x4c0302
mov ecx, esi
call fcn.004daeba
mov edi, eax
test edi, edi
je case.default.0x4c02b5
mov eax, dword [ebp - 4]
mov dword [eax], edi
mov eax, dword [esi + 0xfc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4c0324
push 0
push dword [eax + 4]
call ebx
mov ecx, esi
mov dword [esi + 0xfc], edi
call fcn.004bf176
mov eax, dword [ebp + 8]
mov dword [0x54b1d4], eax
lea eax, [ebp - 0x14]
push eax
push 0x1a
mov ecx, esi
call fcn.00467de0
push 2
pop ecx
call fcn.00467081
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004c0158
mov ecx, dword [ebp + 8]
call fcn.004671ea
mov eax, dword [esi + 0xfc]
push 5
push dword [eax + 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c039c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x78]
push edi
call fcn.00459732
lea edi, [esi + 0xe4]
add esi, 0xe0
mov eax, dword [esi]
cmp eax, dword [edi]
je 0x4c03c7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov dword [esi], eax
pop edi
pop esi
ret

Function at 0x4c03ca
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xe0]
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x4c0439
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, dword [esi + 0xe4]
jne 0x4c03f5
mov ecx, dword [esi + 0x78]
call fcn.0045973f
jmp 0x4c042d
mov ecx, dword [esi + 0xc0]
cmp eax, ecx
jne 0x4c0423
cmp edi, ecx
je 0x4c0423
call fcn.004a56cd
test al, al
je 0x4c0423
push 0
push 0
push 0x8067
push dword [esi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c042d
push 0
push dword [esi + 0xe0]
call ebx
push 5
push edi
call ebx
mov dword [esi + 0xe0], edi
pop ebx
pop edi
pop esi
ret 4
Function at 0x4dcc21
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x2c]
cmp dword [ebx], 0
je 0x4dce0d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4dce0d
dec eax
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, 0x100c
je 0x4dcd67
sub eax, 3
je 0x4dcd45
dec eax
je 0x4dcd23
dec eax
je 0x4dcd01
dec eax
jne 0x4dcd97
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
push 2
push 0xffffffffffffffff
push ebp
xor ebx, ebx
push eax
jmp 0x4dcc9d
mov edx, dword [esi + 0x28]
mov ecx, eax
imul ecx, ecx, 0x2c
cmp dword [ecx + edx + 8], 0
je 0x4dcc92
inc ebx
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 8]
push 2
push eax
push ebp
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4dcc82
cmp byte [0x54b02f], 0
je 0x4dcd97
push ebx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 9
mov dword [esp + 0x30], 0x54b02f
mov dword [esp + 0x20], 0x24
call fcn.004dcbb7
mov ecx, eax
call fcn.0048e806
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004693e3
pop ecx
pop ecx
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0048e50a
cmp ebx, 6
jne 0x4dce0b
jmp 0x4dcd97
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 6
cmp al, 4
setne al
movzx eax, al
push eax
call fcn.0044ef7f
jmp 0x4dce06
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 0xa
cmp al, 8
setne al
movzx eax, al
push eax
call fcn.004dca8f
jmp 0x4dce06
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 3
cmp al, 1
setne al
movzx eax, al
push eax
call fcn.0044ef65
jmp 0x4dce06
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4dcd83
xor edx, edx
inc edx
mov ecx, ebx
call fcn.00445654
jmp 0x4dcd97
call fcn.0046e3c9
xor edx, edx
inc edx
mov ecx, ebx
call fcn.004de1d5
call fcn.0046e3e5
call fcn.0046e3c9
push 2
push 0xffffffffffffffff
jmp 0x4dcdf5
mov ecx, dword [esi + 0x28]
mov eax, ebx
imul eax, eax, 0x2c
mov eax, dword [eax + ecx + 8]
mov ecx, dword [esp + 0x38]
dec ecx
dec ecx
je 0x4dcdd9
dec ecx
je 0x4dcdcd
sub ecx, 4
jne 0x4dcdf2
test eax, eax
je 0x4dcdf2
mov ecx, dword [esi + 0x2c]
push eax
call int.00413391
jmp 0x4dcdf2
test eax, eax
je 0x4dcddd
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
test eax, eax
jne 0x4dcde9
mov eax, dword [esi + 0x2c]
and dword [eax + 0x338], 0
jmp 0x4dcdf2
mov ecx, dword [esi + 0x2c]
push eax
call 0x40a0f8
push 2
push ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
push ebp
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4dcda2
call fcn.0046e3e5
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4dcc25
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x2c]
cmp dword [ebx], 0
je 0x4dce0d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4dce0d
dec eax
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, 0x100c
je 0x4dcd67
sub eax, 3
je 0x4dcd45
dec eax
je 0x4dcd23
dec eax
je 0x4dcd01
dec eax
jne 0x4dcd97
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
push 2
push 0xffffffffffffffff
push ebp
xor ebx, ebx
push eax
jmp 0x4dcc9d
mov edx, dword [esi + 0x28]
mov ecx, eax
imul ecx, ecx, 0x2c
cmp dword [ecx + edx + 8], 0
je 0x4dcc92
inc ebx
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 8]
push 2
push eax
push ebp
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4dcc82
cmp byte [0x54b02f], 0
je 0x4dcd97
push ebx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 9
mov dword [esp + 0x30], 0x54b02f
mov dword [esp + 0x20], 0x24
call fcn.004dcbb7
mov ecx, eax
call fcn.0048e806
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004693e3
pop ecx
pop ecx
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0048e50a
cmp ebx, 6
jne 0x4dce0b
jmp 0x4dcd97
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 6
cmp al, 4
setne al
movzx eax, al
push eax
call fcn.0044ef7f
jmp 0x4dce06
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 0xa
cmp al, 8
setne al
movzx eax, al
push eax
call fcn.004dca8f
jmp 0x4dce06
call fcn.0046e3c9
mov ecx, dword [ebx]
mov al, byte [ecx + 0x1cf]
and al, 3
cmp al, 1
setne al
movzx eax, al
push eax
call fcn.0044ef65
jmp 0x4dce06
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4dcd83
xor edx, edx
inc edx
mov ecx, ebx
call fcn.00445654
jmp 0x4dcd97
call fcn.0046e3c9
xor edx, edx
inc edx
mov ecx, ebx
call fcn.004de1d5
call fcn.0046e3e5
call fcn.0046e3c9
push 2
push 0xffffffffffffffff
jmp 0x4dcdf5
mov ecx, dword [esi + 0x28]
mov eax, ebx
imul eax, eax, 0x2c
mov eax, dword [eax + ecx + 8]
mov ecx, dword [esp + 0x38]
dec ecx
dec ecx
je 0x4dcdd9
dec ecx
je 0x4dcdcd
sub ecx, 4
jne 0x4dcdf2
test eax, eax
je 0x4dcdf2
mov ecx, dword [esi + 0x2c]
push eax
call int.00413391
jmp 0x4dcdf2
test eax, eax
je 0x4dcddd
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
test eax, eax
jne 0x4dcde9
mov eax, dword [esi + 0x2c]
and dword [eax + 0x338], 0
jmp 0x4dcdf2
mov ecx, dword [esi + 0x2c]
push eax
call 0x40a0f8
push 2
push ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 8]
push ebp
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4dcda2
call fcn.0046e3e5
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x469fdf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, 0x31
lodsb al, byte fs:[esi]
pop edi
sar cl, 0x6e
rol byte [eax + 0x1f77ab75], 1
pop gs
sub byte [0x5fb77029], dl
sub dword [eax - 0x49], esi
pop edi
jg 0x469fc9
xchg ecx, eax
pop ebx
add al, 0x70
sbb eax, 0xea59ef48
mov al, 0x51
xor byte [ebx], ah
call dword [ebx + 0x29]
inc ebx
push ds
xchg edi, eax
js 0x469fdb
jecxz 0x46a032
cmp dword [edx - 0xd], ecx
cmp al, 0xb2
dec edx
cmp al, 0xb2
fnstcw word [eax - 0x3eb44a3a]
add dword [edx + ebx*4 - 0x10], ecx
push 0xffffffffffffffa7
call 0x661babf3
int1
lahf
mov esi, 0x6e2c0f59
or al, 0x98
or eax, 0xa4460f1a
loope 0x46a088
cmp ah, cl
adc edi, dword [edi + eax*4 + 0x2dec4509]
fstp xword gs:[edx + 0x12]
mov byte [0x44733210], al
lds esp, [ecx]
xchg byte [edi - 0x1537f03b], al
add dword [ecx + 0x17], esi
xchg dword [ecx - 0x5c], ecx
fsubr dword [edx + ebp*8]
lea eax, [eax]
popal
cld
or dword [ecx + esi*4], edi
cmp edx, dword [edx - 0x1cf24f24]
wait
jno 0x469ff7
add dword [eax], eax
cmpsb byte [esi], byte es:[edi]
sar byte [ecx + ebp], cl
jmp 0xe2b0c739
sub eax, 0xbeec92f8
in eax, dx
mov al, 0xcc
xchg ecx, eax
sub al, 0x69
sbb al, 0x68
aam 0xbd
cmp edi, edi
mov byte [0x7fc81142], al
and ecx, dword [ebx + 0x38]
insb byte es:[edi], dx
in eax, 0x99
cmp byte [ebp - 0x67], ch
loop 0x46a0a0
mov bh, 0x82
inc edx
and ch, byte [ebp + 0x18]
adc al, ah
xchg edi, eax
retf 0x3c4f
Function at 0x44ef60
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x461a50]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x461c90]
je 0x44ef97
inc eax
cmp eax, 0x13
jb 0x44ef88
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x461c90]
jne 0x44f0ba
mov eax, dword [0x46353c]
cmp eax, 1
je 0x44f095
cmp eax, edx
jne 0x44efc7
cmp dword [0x461444], 1
je 0x44f095
cmp ecx, 0xfc
je 0x44f0ba
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x44effd
lea eax, [ebp - 0x7c]
push 0x458820
push eax
call fcn.00446250
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.004466d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44f031
mov eax, edi
push eax
call fcn.004466d0
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x45881c
push edi
call fcn.004467e0
add esp, 0x10
push edi
call fcn.004466d0
push dword [esi + 0x461c94]
mov ebx, eax
call fcn.004466d0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0044f570
mov ebx, esp
push 0x458800
push ebx
call fcn.00446250
push edi
push ebx
call fcn.00446260
push 0x45a050
push ebx
call fcn.00446260
push dword [esi + 0x461c94]
push ebx
call fcn.00446260
push 0x12010
push 0x4587d8
push ebx
call fcn.00451730
add esp, 0x2c
jmp 0x44f0ba
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x461c94]
push dword [esi]
call fcn.004466d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0044c784
add ebp, 0x90
leave
ret
Function at 0x451730
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x463988], ebx
push esi
push edi
jne 0x4517b0
push 0x459448
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4517eb
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x459144
push edi
call esi
test eax, eax
mov dword [0x463988], eax
je 0x4517eb
push 0x459134
push edi
call esi
push 0x459120
push edi
mov dword [0x46398c], eax
call esi
cmp dword [0x4634ec], 2
mov dword [0x463990], eax
jne 0x4517b0
push 0x459104
push edi
call esi
test eax, eax
mov dword [0x463998], eax
je 0x4517b0
push 0x4590ec
push edi
call esi
mov dword [0x463994], eax
mov eax, dword [0x463994]
test eax, eax
je 0x4517f5
call eax
test eax, eax
je 0x4517dc
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x463998]
test eax, eax
je 0x4517dc
test byte [ebp - 8], 1
jne 0x4517f5
cmp dword [0x4634f8], 4
jb 0x4517ef
or byte [ebp + 0x12], 0x20
jmp 0x451814
xor eax, eax
jmp 0x451824
or byte [ebp + 0x12], 4
jmp 0x451814
mov eax, dword [0x46398c]
test eax, eax
je 0x451814
call eax
mov ebx, eax
test ebx, ebx
je 0x451814
mov eax, dword [0x463990]
test eax, eax
je 0x451814
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x463988]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x452957
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044f570
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4529f2
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4634ec]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4529f2
cmp eax, 1
je 0x452a13
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4529f2
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4529bf
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4529ee
xor eax, eax
inc eax
jmp 0x452a32
cmp edi, eax
jae 0x4529f6
xor eax, eax
jmp 0x452a32
cmp eax, esi
jae 0x4529fd
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x4634ec]
jmp 0x452a16
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x606370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x60638e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x62f074
push ecx
mov edi, eax
call fcn.0061a198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6063cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0061a02e
push esi
call fcn.00619fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x609850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6098ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x634720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6098ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0061a1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6098ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x634720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x60992a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0061b082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x609957
mov word [eax], si
add eax, 2
push eax
call fcn.0061b030
add esp, 4
jmp 0x609959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6098ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6098b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x609ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x60a080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x60a0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x62f458
push ecx
call fcn.0061a1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0061a1e1
add esp, 0x10
jmp 0x60a0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0061a20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00619dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0060a050
mov eax, dword [0x634728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x60a13b
push esi
call fcn.00609fb0
add esp, 4
mov dword [0x634728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x60a14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00609ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x60d440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x60d4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x60d48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x60d471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x60d47e
add edx, ecx
cmp ebx, edx
jb 0x60d48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x60d467
xor ecx, ecx
jmp 0x60d4a2
test eax, eax
jne 0x60d492
xor ecx, ecx
jmp 0x60d4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.0060d3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret