joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482f8e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x483115
je 0x48313c
sub eax, 0xa1
je 0x48313c
sub eax, 1
je 0x48313c
dec eax
sub eax, 1
je 0x48313c
sub eax, 1
je 0x48313c
dec eax
sub eax, 1
je 0x48313c
sub eax, 1
je 0x48313c
sub eax, 0x58
jne 0x48317a
cmp dword [edi + 0xc0], 0xffffffff
je 0x48313c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x48313c
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x48306a
sub eax, 1
jne 0x48313c
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x483059
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
test eax, eax
jne 0x4830b6
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x48302f
jmp 0x483194
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x483194
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
test eax, eax
jne 0x4830b6
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x483081
jmp 0x483194
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00417bd0
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x483194
sub eax, 0x200
je 0x48313c
sub eax, 1
je 0x48313c
sub eax, 1
je 0x48313c
dec eax
sub eax, 1
je 0x48313c
sub eax, 1
je 0x48313c
dec eax
sub eax, 1
je 0x48313c
sub eax, 1
jne 0x48317a
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x48315b
cmp dword [eax + 0x20], ebx
je 0x48315b
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x48317a
cmp dword [eax + 0x20], ebx
je 0x48317a
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x483199
lea eax, [edi + 0x2250]
test eax, eax
je 0x483190
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x483199
xor eax, eax
inc eax
jmp 0x4831a1
push esi
mov ecx, edi
call fcn.0047b07a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49fc01
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5d9000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x49fc2d
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x49fc58
cmp dword [0x5e0174], 0
jne 0x49fc58
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x49fc54
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x49fc54
push edi
call fcn.00565f70
pop ecx
jmp 0x49fccf
mov eax, edi
jmp 0x49fccf
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00556490
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x49fcde
push esi
call fcn.0041d06e
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00554301
leave
ret 4
call fcn.0040eed5
int3
Function at 0x4bc728
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x4bc886
push esi
push edi
push 0x59c698
call fcn.004245f4
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4bc7c1
mov edi, dword [ebx + 0x168]
jmp 0x4bc7ad
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bc7ad
push esi
call fcn.00411da8
push eax
push 0x5d88a8
call fcn.00424555
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4bc7ad
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x5849c0]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4bc7ad
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4bc75c
lea ecx, [ebx + 0x164]
call fcn.00420bb2
jmp 0x4bc884
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4bc884
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00412010
mov edi, dword [eax]
test edi, edi
jne 0x4bc7ed
xor esi, esi
jmp 0x4bc7f0
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bc874
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bc874
cmp dword [ebp - 0x10], 0
jne 0x4bc849
push edi
push 0x5d88a8
call fcn.00424555
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x5849c0]
mov ecx, edi
call esi
push eax
push 0x591a18
call fcn.00424555
pop ecx
pop ecx
test eax, eax
je 0x4bc874
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.004bb899
test eax, eax
jne 0x4bc874
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004b99cf
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4bc7d8
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4f4e2a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f4e57
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x4f4e6c
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f4e6c
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00411da8
jmp 0x4f4f3d
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00411da8
cmp eax, edi
jne 0x4f4f47
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4f4ed9
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4f4f1d
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x4f4f47
cmp eax, 0x205
je 0x4f4f47
cmp eax, 0x201
je 0x4f4f47
cmp eax, 0x204
je 0x4f4f47
cmp eax, 0x100
jne 0x4f4f05
cmp dword [ebp - 0x18], 0x1b
je 0x4f4f47
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x4f4f3d
ja 0x4f4f36
cmp eax, dword [0x5e15c8]
jbe 0x4f4f3d
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x4f4e8e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4f54ea
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57ee6c
call fcn.005548a8
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b170
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x585b8c
call fcn.00409ea0
cmp eax, 0xffffffff
jne 0x4f55c5
push 0
push 0x590a2c
lea ecx, [ebp - 0x4d0]
call fcn.00409ea0
cmp eax, 0xffffffff
jne 0x4f55c5
push 0
push 0x58713c
lea ecx, [ebp - 0x4d0]
call fcn.00409ea0
cmp eax, 0xffffffff
jne 0x4f55c5
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b170
add eax, 0x10
pop ecx
mov dword [ebp - 0x4d8], eax
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x218]
push ecx
push 0x104
push edx
push eax
lea edi, [eax - 0x10]
push edx
mov dword [ebp - 0x4d4], edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4f5594
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x5849c0]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00403920
jmp 0x4f55fe
lea eax, [ebp - 0x218]
push eax
call fcn.0055c01b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004035a0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403920
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4f55eb
mov edi, dword [ebp - 0x4cc]
jmp 0x4f55fe
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x5849c0]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00403920
mov eax, edi
call fcn.00554857
ret

Function at 0x4fbbec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5d87ac], 0
push esi
push edi
je 0x4fbc74
cmp dword [0x5d8ad8], 0xfffffffe
jne 0x4fbc60
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x4fbc74
mov edi, 0x5e15f4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5e160c], 0
jne 0x4fbc78
push 0
push 0
push 0x4fbc7e
call fcn.0055df98
add esp, 0xc
mov dword [0x5e160c], eax
test eax, eax
je 0x4fbc50
cmp eax, 0xffffffff
je 0x4fbc50
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5d8ad8], esi
jmp 0x4fbc57
and dword [0x5e160c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4fbc74
mov eax, dword [ebp + 8]
mov dword [0x5d8ad8], eax
cmp eax, 0xffffffff
jne 0x4fbc74
and dword [0x5e160c], 0
pop edi
pop esi
pop ebp
ret
call fcn.0040eed5
int3
Function at 0x50524e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x5052ed
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x5052e9
mov eax, dword [eax + 0x20]
test eax, eax
je 0x5052e9
cmp dword [ebx], eax
jne 0x5052e9
mov eax, dword [ebx + 4]
sub eax, 1
je 0x5052c3
sub eax, 1
je 0x505293
sub eax, 1
jne 0x5052e9
mov edi, 0x428e
jmp 0x5052c8
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x5052c8
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x5849c0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x5052c8
add edi, 3
jmp 0x5052c8
mov edi, 0x3ea0
push edi
mov ecx, 0x5e1650
call fcn.004031e0
test eax, eax
je 0x5052ed
mov eax, dword [0x5e1650]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x5052e2
call fcn.0040eed5
int3

Function at 0x50f1e5
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00565fa0
pop ecx
test eax, eax
jne 0x50f227
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0041dfc8
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x50f1ed
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x555132
Capabilities:
Parse pe header

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

Function at 0x569610
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5b4ef0
push 0x5b4ee8
push str.FlsAlloc
push 0x1f
call fcn.0056948f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x569644
push dword [ebp + 8]
mov ecx, esi
call dword [0x5849c0]
call esi
jmp 0x56964a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x56968e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5b4f00
push 0x5b4ef8
push str.FlsGetValue
push 0x21
call fcn.0056948f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5696c5
push dword [ebp + 8]
mov ecx, esi
call dword [0x5849c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5696cd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5b4f08
push 0x5b4f00
push str.FlsSetValue
push 0x22
call fcn.0056948f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x569707
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5849c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x56cf6b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5d9000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x56cfb6
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0056d106
test al, al
jne 0x56cfb0
sub edx, 2
cmp edx, edi
jne 0x56cf96
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x56cfd8
lea eax, [edi + 2]
cmp edx, eax
je 0x56cfd8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0056ceb7
add esp, 0x10
jmp 0x56d0d2
push esi
lea ecx, [ebp - 0x255]
call fcn.0056d106
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x56d01b
push dword [ebp - 0x25c]
jmp 0x56cfc8
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x56d058
cmp word [ebp - 0x226], 0
je 0x56d079
cmp word [ebp - 0x226], ax
jne 0x56d058
cmp word [ebp - 0x224], 0
je 0x56d079
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0056ceb7
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x56d0c5
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x56d032
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x56d0ad
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x56d0d2
push 0x56cce7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00572310
add esp, 0x10
jmp 0x56d0a2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00554301
leave
ret

Function at 0x56db8d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x56db9e
pop esi
ret
push ebx
push edi
push esi
call fcn.0056db56
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.005680ab
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x56dbc6
push ebx
push esi
push edi
call fcn.00555f10
add esp, 0xc
push 0
call fcn.00568071
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x56df96
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056dbdb
Function at 0x573490
Capabilities:
Parse pe header

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

Function at 0x417f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f80
mov eax, 1
add ebx, ebx
jne 0x417fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f98
jne 0x417fb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f98
xor ecx, ecx
sub eax, 3
jb 0x417fc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41803a
mov ebp, eax
add ebx, ebx
jne 0x417fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x418004
inc ecx
add ebx, ebx
jne 0x417ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fe5
jne 0x418001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fe5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x418015
jmp 0x417f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418024
add edi, ecx
jmp 0x417f86
pop esi
mov edi, esi
mov ecx, 0x315
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x418042
cmp byte [edi], 4
jne 0x418042
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x418047
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4180bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418074
mov ecx, edi
jns 0x4180a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1807c]
or eax, eax
je 0x4180b9
mov dword [ebx], eax
add ebx, 4
jmp 0x418091
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4180f3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x43d286
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call 0x43d292
pop ebx
sub ebx, 0x403292
mov eax, 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x424642
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [ebx + fcn.00401291]
cmp eax, 0xffffffff
je 0x43d418
mov dword [ebp - 4], eax
push 2
push 0
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.0040130d]
mov eax, dword [ebp - 8]
cmp eax, 0x424642
jne 0x43d303
jmp 0x43d40f
push 0
push dword [ebp - 4]
call dword [ebx + 0x4012b9]
mov dword [ebp - 8], eax
cmp eax, 0x1000
jae 0x43d31d
jmp 0x43d40f
cmp eax, 0xe00000
jbe 0x43d329
jmp 0x43d40f
or eax, eax
je 0x43d418
mov ecx, dword [ebp - 8]
add ecx, 0x6000
mov dword [ebp - 0x14], ecx
push 0
push ecx
push 0
push 4
push 0
push dword [ebp - 4]
call dword [ebx + 0x401295]
or eax, eax
je 0x43d3c7
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
push 0
push 0
push 2
push dword [ebp - 0xc]
call dword [ebx + 0x401299]
or eax, eax
je 0x43d3be
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x10]
cmp word [esi], 0x5a4d
je 0x43d382
jmp 0x43d3b5
mov eax, dword [esi + 0x3c]
cmp eax, 0x200
jbe 0x43d38e
jmp 0x43d3b5
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
je 0x43d39b
jmp 0x43d3b5
push dword [ebp - 8]
push esi
push dword [ebp - 0x10]
call fcn.0043d15e
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x10]
call dword [ebx + 0x4012c1]
push dword [ebp - 0x10]
call dword [ebx + 0x40129d]
push dword [ebp - 0xc]
call dword [ebx + fcn.004012ad]
cmp dword [ebp - 0x14], 0
je 0x43d40f
mov eax, dword [ebp - 0x14]
sub eax, 4
push 0
push 0
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a1]
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
push dword [ebp - 4]
call dword [ebx + 0x4012a9]
push dword [ebp - 4]
call dword [ebx + fcn.004012ad]
popal
leave
ret 4

Function at 0x43d959
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0043d96c

Function at 0x43d9d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.0043d9e6