joyce8/EMBER2024-capa huggingface dataset:
Function at 0x642500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x664a6c]
cmp byte [eax + 0xc], 0
je 0x64266d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x642666
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x668544], 0
jne 0x642554
push 0x642674
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x64267c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668544], eax
cmp dword [0x663580], 0
jne 0x64264f
push 0x64268c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x663580], eax
cmp dword [0x663580], 0
je 0x64264f
push 0x642698
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668548], eax
push 0x6426a8
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x66854c], eax
push 0x6426bc
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668550], eax
push 0x6426d4
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668554], eax
push 0x6426ec
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668558], eax
push 0x642700
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x66855c], eax
push 0x642718
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668560], eax
push 0x642730
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668564], eax
push 0x64274c
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x668568], eax
push 0x642758
mov eax, dword [0x663580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x66856c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64266d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x6486c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x64871c]
test si, 4
je 0x6486dd
or bl, 1
test si, 8
je 0x6486e7
or bl, 4
test si, 1
je 0x6486f1
or bl, 8
test si, 2
je 0x6486fb
or bl, 0x10
test si, 0x10
je 0x648705
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x648714
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x648720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x64875c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x64873a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x648749
or bl, 4
test esi, 0x20000000
je 0x648754
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x64ff18
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x64ff2a
add esp, 0xfffffff0
call fcn.00603b40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0061a114
mov eax, dword [0x66467c]
mov dword [eax + 4], ebx
mov dword [eax], 0x6502bc
mov eax, dword [0x66468c]
mov dword [eax + 4], ebx
mov dword [eax], 0x6502c8
mov eax, ebx
call fcn.006502d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x64bd6c
push eax
push 0
push 0
mov eax, dword [0x66481c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x61dc58]
call fcn.0061f178
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x61dc58]
call fcn.0061f178
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x61dc58]
call fcn.0061f178
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00650704
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x6505d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x6505d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x6505d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x650067
call fcn.00603b98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6503b8
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 0x650563
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x650544
mov dl, 1
mov eax, dword [0x612334]
call fcn.00603804
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00604648
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x650533
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.0064285c
test al, al
je 0x650526
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, 0x650574
lea eax, [ebp - 0x254]
call fcn.006092b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x650526
xor eax, eax
push ebp
push 0x65051f
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 0x6505ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x650508
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.006048b8
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 0x650508
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.006048b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x650526
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x650429
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00616014
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 0x65056a
lea eax, [ebp - 0x260]
call fcn.00604648
ret

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

Disassembly:
push ecx
mov eax, dword [0x66857c]
cmp byte [eax + 0xad], 0
jne 0x650f4d
cmp dword [0x668594], 0
jne 0x650f0e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x650e98
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x668594], eax
cmp dword [0x668590], 0
jne 0x650f29
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x668590], eax
cmp dword [0x668598], 0
jne 0x650f4d
push esp
push 0
push 0
push 0x650e3c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x668598], eax
pop edx
ret
Function at 0x651120
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x651137
add esp, 0xfffffff0
call fcn.00603b40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0061a114
mov eax, dword [0x664808]
cmp word [eax + 2], 0
jne 0x65115f
mov eax, dword [0x664808]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00652c60
mov eax, dword [0x6648d0]
cmp word [eax + 2], 0
jne 0x651179
mov eax, dword [0x6648d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00652e6c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x611f10]
call fcn.00603804
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 [0x61e434]
call fcn.0062427c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x651330
mov eax, dword [0x664708]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00624650
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x65352c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x664708]
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.0060ca58
test eax, eax
je 0x651280
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00608c68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0060ca8c
test eax, eax
je 0x651294
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.006048b8
mov byte [ebx + 0xd4], 0
push ebx
push 0x6527c0
call fcn.0061b290
mov dword [ebx + 0xc8], eax
mov eax, dword [0x664594]
cmp byte [eax], 0
jne 0x6512e5
mov eax, ebx
call fcn.00651474
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.00653708
mov eax, ebx
call fcn.00654268
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x651325
call fcn.00603b98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6516f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x66857c]
cmp dword [eax + 0x30], 0
je 0x65179e
cmp dword [ebx + 0x94], 0
jne 0x651798
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x651684
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x651798
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 0x65175e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x651798
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.006142bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x65176d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x6524b8
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 0x6524ed
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.00604738
jmp 0x6524fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0060469c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x6538ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x65395a
mov eax, esi
call fcn.0063d664
test al, al
je 0x65395a
mov eax, dword [ebx + 0x84]
call fcn.0063d2c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x65395a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x65394e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0063d2c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00635730
jmp 0x65395a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00653728
pop esi
pop ebx
ret
Function at 0x65d8dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00604afc
xor eax, eax
push ebp
push 0x65da1a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_DestroyCaret
push eax
push edi
mov eax, 0xaf
and edi, 0x12a
sub edi, 0xeb
inc eax
mov eax, 0x12
and edi, 0x81
push edi
pop edi
and eax, 0xbe
xor edi, 0x170
xchg edi, edi
add eax, 0x31
pop edi
pop eax
push 0x65da28
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
push 1
call sub.user32.dll_GetKeyboardType_1
push edi
nop
nop
nop
nop
nop
or edi, 0x17b
xor edi, 0xb8
inc edi
xchg edi, edi
push edi
pop edi
add edi, 0x1a7
and edi, 0xe4
push edi
pop edi
xchg edi, edi
dec edi
xor edi, 0x62
and edi, 0x10f
pop edi
lea eax, [ebp - 0x10]
mov dl, byte [ebp - 1]
add dl, byte [ebp - 0x14]
not dl
call fcn.00604830
call sub.kernel32.dll_GetLastError
push esi
nop
nop
nop
nop
nop
nop
xchg esi, esi
push esi
pop esi
add esi, 0xc3
dec esi
nop
nop
push esi
pop esi
inc esi
push esi
pop esi
push esi
pop esi
or esi, 0x14b
mov esi, 0x87
xchg esi, esi
pop esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00604958
push esi
xchg esi, esi
inc esi
sub esi, 0xde
mov esi, 0x1c
inc esi
nop
nop
nop
nop
nop
add esi, 0x14c
add esi, 0x2d
and esi, 0xe1
push esi
pop esi
nop
nop
nop
nop
pop esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65da21
lea eax, [ebp - 0x10]
call fcn.00604648
lea eax, [ebp - 8]
call fcn.00604648
ret
Function at 0x661714
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [0x664914]
mov byte [eax], 1
mov eax, 0x66017c
call fcn.00606538
mov eax, dword [0x6648a0]
mov eax, dword [eax]
call fcn.00652a6c
push 0
call sub.kernel32.dll_GetConsoleWindow
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6648a0]
mov eax, dword [eax]
mov edx, 0x661794
call fcn.00652504
mov eax, dword [0x6648a0]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov ecx, dword [0x6649c4]
mov eax, dword [0x6648a0]
mov eax, dword [eax]
mov edx, dword [0x65d6f4]
call fcn.00652a84
mov eax, dword [0x6648a0]
mov eax, dword [eax]
call fcn.00652b04
call fcn.00604554
add byte [eax], al

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, reloc.comdlg32.dll_GetSaveFileNameW
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x413376
Capabilities:
Create process on windows

Disassembly:
push esi
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
pop esi
ret

Function at 0x4133fc
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x41d35c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dword [ebp + 8], esi
jle 0x413451
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004133d0
xor byte [edi + esi - 0x200], al
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
inc esi
cmp esi, dword [ebp + 8]
jl 0x41341a
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040472b
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x401005
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403071
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x401021
ret
mov edi, edi
mov esi, 0x402058
mov edi, esi
push 1
push 0x40308f
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x340
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401045
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x40106b
xor eax, eax
mov dword [0x4030a2], eax
add esp, 4
ret
Function at 0x469c0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x469c19
pop dword [ebp - 0x10]
mov eax, 0xf55be9fe
add eax, 0xaeab21b
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xca611c81
sub dword [ebp - 0x20], 0x7c0ed736
mov dword [ebp - 0x1c], 0x6883e40c
sub dword [ebp - 0x1c], 0x365097c7
mov dword [ebp - 0x18], 0x820329eb
add dword [ebp - 0x18], 0xca491a43
mov dword [ebp - 0x14], 0x5b30abd4
sub dword [ebp - 0x14], 0x5b30abd4
lea eax, [ebp - 0x20]
push eax
mov eax, 0x85c6b138
add eax, 0x7a82df1c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xd8677bd3
sub dword [ebp - 0x20], 0x63f5127d
mov dword [ebp - 0x1c], 0xafc29177
sub dword [ebp - 0x1c], 0x6e563002
mov dword [ebp - 0x18], 0xe3bf8c3d
add dword [ebp - 0x18], 0x7fafe02f
mov dword [ebp - 0x14], 0xde150a14
sub dword [ebp - 0x14], 0xde150a14
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x5cae7c17
sub eax, 0x5c64ebf3
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x70d77
push 0
call eax
mov ecx, 0x449bb87a
sub ecx, 0x449b6397
xor edi, edi
add edi, eax
mov ebx, 0x5df0b67d
sub ebx, 0x5da4587d
add ebx, dword [ebp - 0x10]
mov esi, 0x1536003b
add esi, 0x3d4f4095
mov edx, dword [ebx]
add dword [ebp - 8], 0x51b4a4e4
xor edx, esi
add dword [ebp - 8], eax
mov dword [edi], edx
xor dword [ebp - 4], 0xde40b46e
add edi, 0x92bfc6e5
add edi, 0x6d40391f
add ebx, 0x40e78da4
add ebx, 0xbf187260
loop 0x469d3d
add eax, 0x21c6463a
sub eax, 0x21c4ffdb
xor ebx, ebx
add ebx, eax
add eax, 0xd7d8989
add eax, 0xf282767c
mov ecx, 0xec180eeb
sub ecx, 0xebd80eeb
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x40206c
Capabilities:
Allocate or change rwx memory

Disassembly:
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.00401fe6
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
jmp 0x4020ea
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x402010
or al, 0x40
mov edi, 0x40389b
push eax
sub edi, fcn.00403045
push edi
push fcn.00403045
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402129
mov eax, fcn.00403045
mov ebx, esi
mov edx, edi
call fcn.00401fe6
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call fcn.00402630
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00402bb7
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00403045
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x10552
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
cmp byte [eax], 0xe
jne 0x105db
mov eax, dword [eax + 0xc]
cmp eax, 0x82010038
mov ecx, dword [esi + 0xc]
je 0x105c0
cmp eax, 0x82010040
je 0x105a8
cmp eax, 0x8201004c
jne 0x105db
cmp dword [0x10c08], edi
je 0x105db
mov eax, dword [0x10c0c]
cmp eax, edi
je 0x105db
mov dword [ecx], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 4
jmp 0x105db
mov ecx, dword [0x10c08]
cmp ecx, edi
je 0x105db
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [0x10c08], edi
jmp 0x105db
mov ecx, dword [ecx]
lea eax, [ebp - 8]
push eax
push 0x10c08
push edi
push edi
push 0x10000000
push ecx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edi, eax
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
leave
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xa1e0a08
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xf6c7efd
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219