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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48f5dc]
cmp byte [eax + 0xc], 0
je 0x445ce9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x445ce2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490b70], 0
jne 0x445bd0
push 0x445cf0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445cf8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b70], eax
cmp dword [0x48dcfc], 0
jne 0x445ccb
push 0x445d08
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48dcfc], eax
cmp dword [0x48dcfc], 0
je 0x445ccb
push 0x445d14
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b74], eax
push 0x445d24
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b78], eax
push 0x445d38
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b7c], eax
push 0x445d50
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b80], eax
push 0x445d68
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b84], eax
push 0x445d7c
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b88], eax
push 0x445d94
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b8c], eax
push 0x445dac
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b90], eax
push 0x445dc8
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b94], eax
push 0x445dd4
mov eax, dword [0x48dcfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ce9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449b74
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404010
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x449bc3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404280
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4512d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451328]
test si, 4
je 0x4512ec
or bl, 1
test si, 8
je 0x4512f6
or bl, 4
test si, 1
je 0x451300
or bl, 8
test si, 2
je 0x45130a
or bl, 0x10
test si, 0x10
je 0x451314
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451323
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45132c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451364]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451345
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451354
or bl, 4
test esi, 0x20000000
je 0x45135f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457a0c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457a1e
add esp, 0xfffffff0
call fcn.004035e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004240b4
mov eax, dword [0x48f0e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x457db0
mov eax, dword [0x48f0f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x457dbc
mov eax, ebx
call fcn.00457dc8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
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, 0x4541e4
push eax
push 0
push 0
mov eax, dword [0x48f2fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425ae8]
call fcn.00426f2c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425ae8]
call fcn.00426f2c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425ae8]
call fcn.00426f2c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004581e8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4580c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4580c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4580c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457b5b
call fcn.0040363c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457ea8
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 0x458053
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458034
mov dl, 1
mov eax, dword [0x4199d4]
call fcn.00403268
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404010
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458023
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.00445edc
test al, al
je 0x458016
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, 0x458064
lea eax, [ebp - 0x254]
call fcn.004092c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458016
xor eax, eax
push ebp
push 0x45800f
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 0x45809c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457ff8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404280
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 0x457ff8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458016
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457f19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e150
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 0x45805a
lea eax, [ebp - 0x260]
call fcn.00404010
ret

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

Disassembly:
push ecx
mov eax, dword [0x490bbc]
cmp byte [eax + 0xa5], 0
jne 0x4589f9
cmp dword [0x490bd4], 0
jne 0x4589ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458944
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x490bd4], eax
cmp dword [0x490bd0], 0
jne 0x4589d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x490bd0], eax
cmp dword [0x490bd8], 0
jne 0x4589f9
push esp
push 0
push 0
push 0x4588e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x490bd8], eax
pop edx
ret
Function at 0x458af0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x458b07
add esp, 0xfffffff0
call fcn.004035e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004240b4
mov eax, dword [0x48f2e8]
cmp word [eax + 2], 0
jne 0x458b2f
mov eax, dword [0x48f2e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a1c8
mov eax, dword [0x48f3e8]
cmp word [eax + 2], 0
jne 0x458b49
mov eax, dword [0x48f3e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a3c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419370]
call fcn.00403268
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426298]
call fcn.0042bf1c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458cd0
mov eax, dword [0x48f16c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c2ec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a960
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48f16c]
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.0040d074
test eax, eax
je 0x458c3e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c84
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d09c
test eax, eax
je 0x458c52
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404280
mov eax, dword [0x48efd8]
cmp byte [eax], 0
jne 0x458c86
mov eax, ebx
call fcn.00458df8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045ab3c
mov eax, ebx
call fcn.0045b500
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458cc6
call fcn.0040363c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459078
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x490bbc]
cmp dword [eax + 0x30], 0
je 0x459122
cmp dword [ebx + 0x94], 0
jne 0x45911c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459008
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45911c
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 0x4590e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45911c
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.0041bba4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4590f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459c84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459cb9
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.00404100
jmp 0x459cc6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404064
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ad18
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ad59
mov eax, esi
call fcn.00441558
test al, al
je 0x45ad59
mov eax, dword [ebx + 0x84]
call fcn.00441254
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ad59
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441254
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47f083
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x48edf6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f0db
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x48ee17
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47f0d1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47f0df
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x289d5eeb
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x2aec7e3c
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x7708e4
Capabilities:
Parse pe header

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

Function at 0x775d6b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x775daa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x775daa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x775daa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x775daa
cmp dword [ecx + 0x74], 0xe
jbe 0x775daa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x77f8ad
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 0x77f94a
push ebx
push esi
call fcn.0077f876
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.0077e5a9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x77f8f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x77f949
push edi
push eax
call fcn.00779d50
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x77f917
call fcn.00779db0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x77f948
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0077e5a9
add esp, 0x20
test eax, eax
jne 0x77f936
push edi
call fcn.00779db0
jmp 0x77f93e
push ebx
call fcn.00779db0
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 0x7820e7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0077a1dc
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x782156
cmp esi, dword [ebp - 4]
je 0x782151
cmp dword [ebp + 0xc], 0
je 0x782151
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x78212e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00781c3a
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x782158
xor eax, eax
inc eax
jmp 0x782158
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x7821c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x8c78dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0077a1dc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0077a1dc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x78223a
cmp word [ecx], dx
je 0x78223a
mov eax, dword [0x885534]
push edi
dec eax
push eax
push 0x885420
call fcn.0078215c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x7822ad
cmp word [eax], dx
je 0x7822ad
mov eax, dword [edi]
test eax, eax
je 0x78225e
cmp word [eax], dx
je 0x78225e
lea eax, [ebp - 0x10]
push eax
call fcn.00781b40
jmp 0x782267
lea eax, [ebp - 0x10]
push eax
call fcn.00781bdb
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x7822d7
mov eax, dword [0x88541c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x885110
call fcn.0078215c
add esp, 0xc
test al, al
je 0x7822d7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x7822a2
cmp word [eax], di
je 0x7822a2
lea eax, [ebp - 0x10]
push eax
call fcn.00781b40
pop ecx
jmp 0x7822d9
lea eax, [ebp - 0x10]
push eax
call fcn.00781bdb
jmp 0x78229f
mov eax, dword [edi]
test eax, eax
je 0x7822c4
cmp word [eax], dx
je 0x7822c4
lea eax, [ebp - 0x10]
push eax
call fcn.00781af5
pop ecx
jmp 0x7822d7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x7823a2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00781fe1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x7823a2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x7823a2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x7823a2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x78232f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0077b1e4
test ebx, ebx
je 0x78239d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0077b1e4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x7823a2
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x7823a2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.007846c1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x7823a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007704f1
leave
ret
Function at 0x785780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7857ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7857ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10002000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10002071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10002071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000205a
jmp 0x10002071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10008d0b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10008d64
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10008d64
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10008d64
xor eax, eax
inc eax
jmp 0x10008d66
xor eax, eax
leave
ret 0x10
Function at 0x1000c077
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x1000c19a
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x1000c17e
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x1000c0d0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x1000c0ae
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18