joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451a2c
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 0x451bd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451bb8
mov dl, 1
mov eax, dword [0x412170]
call fcn.00403820
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404664
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451ba7
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.0044450c
test al, al
je 0x451b9a
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, 0x451be8
lea eax, [ebp - 0x254]
call fcn.00409184
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451b9a
xor eax, eax
push ebp
push 0x451b93
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 0x451c20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451b7c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
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 0x451b7c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b9a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451a9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415e68
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 0x451bde
lea eax, [ebp - 0x260]
call fcn.00404664
ret

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

Disassembly:
push ecx
mov eax, dword [0x55e57c]
cmp byte [eax + 0xad], 0
jne 0x4525c1
cmp dword [0x55e594], 0
jne 0x452582
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45250c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55e594], eax
cmp dword [0x55e590], 0
jne 0x45259d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55e590], eax
cmp dword [0x55e598], 0
jne 0x4525c1
push esp
push 0
push 0
push 0x4524b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x55e598], eax
pop edx
ret
Function at 0x452794
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4527ab
add esp, 0xfffffff0
call fcn.00403b5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f68
mov eax, dword [0x55ad0c]
cmp word [eax + 2], 0
jne 0x4527d3
mov eax, dword [0x55ad0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454244
mov eax, dword [0x55adc0]
cmp word [eax + 2], 0
jne 0x4527ed
mov eax, dword [0x55adc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454450
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411d4c]
call fcn.00403820
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411d4c]
call fcn.00403820
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411d4c]
call fcn.00403820
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 [0x41e2d0]
call fcn.00424168
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4529a4
mov eax, dword [0x55ac24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042453c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454b10
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55ac24]
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.0040c894
test eax, eax
je 0x4528f4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8c8
test eax, eax
je 0x452908
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
mov byte [ebx + 0xd4], 0
push ebx
push 0x453da4
call fcn.0041b0e4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x55ab18]
cmp byte [eax], 0
jne 0x452959
mov eax, ebx
call fcn.00452ae8
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.00454cec
mov eax, ebx
call fcn.0045584c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452999
call fcn.00403bb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452d68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55e57c]
cmp dword [eax + 0x30], 0
je 0x452e12
cmp dword [ebx + 0x94], 0
jne 0x452e0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452cf8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452e0c
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 0x452dd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452e0c
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.004140f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452de1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453b2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x453b61
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.00404754
jmp 0x453b6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454ed0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454f3e
mov eax, esi
call fcn.0043f188
test al, al
je 0x454f3e
mov eax, dword [ebx + 0x84]
call fcn.0043ede8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454f3e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x454f32
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ede8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00437214
jmp 0x454f3e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00454d0c
pop esi
pop ebx
ret

Function at 0xdc72d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc72da
pushal
call 0xdc72e0
pop ebp
sub ebp, 0x10
sub ebp, 0x9c72d0
jmp 0xdc72f6
mov eax, 0x9c72d0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c3
mov edx, 0x3ca92e52
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc730d
jmp 0xdc7320
fstp dword [edi + 0x526edbd9]
push edx
push edx
rcl dword [ebx + 0x525252aa], cl
push ecx
lahf
ljmp 0x7ae8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x459e00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46000]
push edi
jmp 0x459e1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x459e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459e10
mov eax, 1
add ebx, ebx
jne 0x459e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x459e28
jne 0x459e44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x459e28
xor ecx, ecx
sub eax, 3
jb 0x459e58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x459eca
mov ebp, eax
add ebx, ebx
jne 0x459e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x459e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x459e94
inc ecx
add ebx, ebx
jne 0x459e80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x459e75
jne 0x459e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x459e75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x459eb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x459ea5
jmp 0x459e16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x459eb4
add edi, ecx
jmp 0x459e16
pop esi
lea edi, [esi + 0x57000]
mov eax, dword [edi]
or eax, eax
je 0x459f13
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5af18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5afe4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x459ed1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5afec]
or eax, eax
je 0x459f0d
mov dword [ebx], eax
add ebx, 4
jmp 0x459eee
call dword [esi + 0x5afe8]
mov ebp, dword [esi + 0x5aff0]
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 0x459f47
sub esp, 0xffffff80
jmp 0x41115c
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x1e8b1e20
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1e8b1e2a
pushal
call 0x1e8b1e30
pop ebp
sub ebp, 0x10
sub ebp, 0xa11e20
jmp 0x1e8b1e46
mov eax, 0xa11e20
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b8
mov edx, 0xfef5fb07
xor byte [eax], dl
inc eax
dec ecx
jne 0x1e8b1e5d
jmp 0x1e8b1e70
mov edx, cs
mov word [esi + 0x707073b], cs
xchg dh, al
inc dword [edi]
pop es
pop es
add al, 0xca
mov edi, 0x7070701
mov ebp, 0x707072f
invalid
Function at 0x5e43da
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5eb775
push ebx
push esi
call fcn.005eb6a1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005eb635
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5eb722
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5eb774
push edi
push eax
call fcn.005ea03b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5eb742
call fcn.005ea089
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5eb773
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005eb635
add esp, 0x20
test eax, eax
jne 0x5eb761
push edi
call fcn.005ea089
jmp 0x5eb769
push ebx
call fcn.005ea089
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5ec984
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x64c800
push 0x64c7f8
push str.FlsAlloc
push 0x1f
call fcn.005ec843
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ec9b8
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f313c]
call esi
jmp 0x5ec9be
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5eca02
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x64c810
push 0x64c808
push str.FlsGetValue
push 0x21
call fcn.005ec843
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5eca39
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f313c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5eca41
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x64c818
push 0x64c810
push str.FlsSetValue
push 0x22
call fcn.005ec843
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5eca7b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5f313c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5f1e40
Capabilities:
Parse pe header

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

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x69217db7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x165a0621
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x44a574
Capabilities:
Encode data using xor

Disassembly:
or bh, byte [edx + 0x4c]
in al, 0x7a
sbb eax, 0x9dd96d4b
and byte [edx + 0x2d], 0x92
sbb dword [edx + 0x26], esp
inc esi
sbb ah, byte [ecx + 0x5c]
add al, 0x7f
std
invalid
cmp al, 0x46
pop edi
inc esp
xchg edx, eax
xchg ebp, eax
cmpsd dword [esi], dword es:[edi]
cli
dec ebp
or ebx, esi
and al, 0xb3
and byte [edi - 0x57142e3], 0x52
lodsb al, byte [esi]
cmpsd dword es:[esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
sbb eax, 0x5195655a
invalid
std
popal
je 0x44a54b
lcall 0xb6c7, 0x55a920d
fcom st(6)
or byte [esi - 0x4178c23a], ah
test al, 0x7e
sub dword [ebp - 0x3c], esp
in al, 0x5b
fimul dword [edx - 0x13faa7e9]
jecxz 0x44a52c
arpl word [edi], bx
jns 0x44a519
ja fcn.0044a56f
fld xword [eax]
add ebx, dword [eax]
and ecx, dword [ebx]
inc esp
xchg esp, eax
mov esp, 0x6e08032c
mov dh, 0x45
bound ebx, qword [edi - 0x6b]
mov bl, 0x8e
retf 0xb5a2
Function at 0x402050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x320]
mov edi, ecx
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x402099
push str.userdir
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046fd3d
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x218]
push str._s_My_Games
push eax
call fcn.00403a00
sub esp, 0xc
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x218], 0
jne 0x4020d4
xor ecx, ecx
jmp 0x4020e9
lea ecx, [ebp - 0x218]
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4020e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.00403610
call fcn.00461bf0
lea eax, [ebp - 0x218]
push eax
push str._s_GratuitousSpaceShootyGame
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0046f311
add esp, 0x10
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x40213d
xor ecx, ecx
jmp 0x40214f
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402146
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.00403610
call fcn.00461bf0
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x402173
xor ecx, ecx
jmp 0x402189
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402180
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
lea esi, [edi + 0x40]
push eax
mov ecx, esi
call fcn.00403610
cmp dword [esi + 0x14], 0x10
jb 0x4021a3
mov esi, dword [esi]
push esi
push str._s_screenshots
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0046f311
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x4021dd
xor ecx, ecx
jmp 0x4021ef
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021e6
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.00403610
call fcn.00461bf0
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x402213
xor ecx, ecx
jmp 0x402229
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402220
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [edi + 0x58]
call fcn.00403610
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046f27e
mov esp, ebp
pop ebp
ret
Function at 0x414f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x4afff4]
movss dword [esp], xmm2
movss dword [esp + 4], xmm1
push esi
push edi
mov edi, ecx
test al, 1
jne 0x414f5c
push 0x30
or eax, 1
push 0
push 0x4d1b70
mov dword [0x4afff4], eax
call fcn.00479b40
add esp, 0xc
call fcn.00445f90
push 0x48cc80
call fcn.0046fb6c
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa2
call esi
shr eax, 0xf
test al, 1
jne 0x414f85
push 0xa3
call esi
shr eax, 0xf
test al, 1
jne 0x414f85
mov ecx, edi
call fcn.00414eb0
cvttss2si eax, dword [esp + 8]
cvttss2si ecx, dword [esp + 0xc]
push eax
lea eax, [edi + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x414fcf
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
cmp esi, eax
je 0x414fcf
lea ebx, [ebx]
movss xmm2, dword [esp + 8]
movss xmm1, dword [esp + 0xc]
mov ecx, dword [esi + 8]
call fcn.00413500
test al, al
jne 0x414fd7
mov esi, dword [esi]
cmp esi, dword [edi + 0xc]
jne 0x414fb0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret