joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
push dword [ebp + 0xc]
mov ecx, dword [0x10017054]
mov edi, eax
push dword [ebp + 8]
xor eax, eax
test edi, edi
push edi
cmovne ecx, eax
mov dword [0x10017054], ecx
call fcn.100037b0
add esp, 0xc
mov eax, edi
pop edi
pop ebp
ret

Function at 0x10001850
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 0x10]
mov al, byte [esi]
mov cl, byte [esi + 1]
jle 0x10001928
push ebx
movzx ecx, cl
mov ebx, 0x201
push edi
movzx eax, al
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov edi, edi
inc eax
mov ecx, dword [0x100183f0]
cdq
idiv ebx
mov al, dl
movzx ebx, al
mov byte [ebp - 1], al
movzx eax, byte [ebx + ecx]
add eax, dword [ebp - 8]
lea edi, [ebx + ecx]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov al, dl
mov byte [ebp - 2], al
movzx eax, al
mov dword [ebp - 8], eax
add eax, ecx
push eax
push edi
call fcn.10001940
mov ecx, dword [0x100183f0]
add esp, 8
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
movzx eax, byte [eax + ecx]
movzx ecx, byte [ebx + ecx]
add eax, ecx
mov ecx, 0x201
cdq
idiv ecx
push 0
mov bl, dl
call edi
push 0
push 0
call edi
mov eax, dword [0x100183f0]
mov edi, esi
sub edi, dword [0x10017054]
inc esi
add edi, dword [ebp + 8]
movzx ecx, bl
mov ebx, 0x201
mov al, byte [ecx + eax]
xor byte [edi], al
mov eax, dword [ebp - 0x10]
cmp esi, dword [ebp + 0xc]
jl 0x10001880
mov esi, dword [ebp + 0x10]
mov al, byte [ebp - 1]
pop edi
pop ebx
mov byte [esi], al
mov al, byte [ebp - 2]
mov byte [esi + 1], al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi], al
mov byte [esi + 1], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410a57
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.dll_SuspendThread
ret

Function at 0x410a65
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
dec eax
jne 0x410a78
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x414efe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00414b43
push eax
push esi
push dword [ebp + 8]
call fcn.00414af8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67

Function at 0x4157d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x33c], eax
call fcn.00414b33
mov dword [0x683e8e1a], eax
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x415827
cmp dword [ebp - 0x398], 0
je 0x4159f1
cmp dword [ebp + 0xc], 1
je 0x4159f1
cmp dword [ebp + 0xc], 8
jne 0x4159b9
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
invalid
invalid
push esi
Function at 0x41e138
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41e27f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e25f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00438cce
lea eax, [ebp - 0x118]
mov edx, 0x41e298
call fcn.00438d35
mov eax, dword [ebp - 0x118]
call fcn.00438eea
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
lea eax, [ebp - 0x111]
call fcn.0043afcb
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00438ca0
cmp bl, 0x61
jae 0x41e1f9
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0043c748
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00438c56
jmp 0x41e213
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0043c6bc
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00438c56
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x41e2a4
call fcn.0043b5c4
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00438c56
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e266
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_SetErrorMode
ret

Function at 0x421f32
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x555024
cmp dword [edi], 0
jne 0x421fae
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x555020]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4512dd
mov ecx, 2
call fcn.00438089
mov edx, 0x421f0c
lea eax, [esi + 5]
call fcn.00421f2a
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421f2a
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421f83
mov dword [0x555020], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4220af
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4220ff]
test si, 4
je 0x4220c3
or bl, 1
test si, 8
je 0x4220cd
or bl, 4
test si, 1
je 0x4220d7
or bl, 8
test si, 2
je 0x4220e1
or bl, 0x10
test si, 0x10
je 0x4220eb
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4220fa
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x425e63
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42600a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x40b02a
call fcn.004043af
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00438bc7
push 0
call sub.USER32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x425fe0
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.00418fcc
test al, al
je 0x425fd3
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x42601b
lea eax, [ebp - 0x254]
call fcn.0043b590
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x425fd3
xor eax, eax
push ebp
push 0x425fcc
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 0x426053
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x425fb5
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00438d15
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2c]
jne 0x425fb5
mov eax, dword [ebp - 4]
add eax, 0x28
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00438d15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425fd3
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x425ed6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov byte [eax + 0x15], 0
mov dl, 1
call fcn.0040d26b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426011
lea eax, [ebp - 0x260]
call fcn.00438bc7
ret

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

Disassembly:
push ecx
mov eax, dword [0x554ffc]
cmp byte [eax + 0x80], 0
jne 0x4262b3
cmp dword [0x555028], 0
jne 0x42628f
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x42621c
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x555028], eax
cmp dword [0x55502c], 0
jne 0x4262b3
push esp
push 0
push 0
push 0x4261ce
push 0x3e8
push 0
call sub.KERNEL32.dll_CreateThread
mov dword [0x55502c], eax
pop edx
ret
Function at 0x4262b5
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x555028], 0
je 0x4262c9
mov eax, dword [0x555028]
push eax
call sub.USER32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x555028], eax
cmp dword [0x55502c], 0
je 0x4262e6
push 0
mov eax, dword [0x55502c]
push eax
call sub.KERNEL32.dll_TerminateThread
xor eax, eax
mov dword [0x55502c], eax
ret

Function at 0x426381
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x426398
add esp, 0xfffffff0
call fcn.004385d1
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410aaf
mov dl, 1
mov eax, 0x40ad9b
call fcn.004043af
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x40ad9b
call fcn.004043af
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov byte [ebx + 0x7e], 0
mov dl, 1
mov eax, 0x4287f3
call fcn.0042d627
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x4264e5
mov eax, dword [0x555104]
push eax
call sub.USER32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d9b1
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x427794
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x555104]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
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.0043c872
test eax, eax
je 0x426479
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043b031
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043c89a
test eax, eax
je 0x42648d
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00438d15
cmp byte [0x555128], 0
jne 0x4264bd
mov eax, ebx
call fcn.0042657c
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4264dc
call fcn.00438617
pop dword fs:[0]
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426f69
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7f], 0
je 0x426f9b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.USER32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00438ca0
jmp 0x426fa5
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00438c56
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x427962
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x42799a
mov eax, esi
call fcn.00417348
test al, al
je 0x42799a
mov eax, dword [ebx + 0x60]
call fcn.004171c2
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x42799a
push 0
mov eax, dword [ebx + 0x60]
call fcn.004171c2
push eax
call sub.USER32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4288b2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4288b8
ret
Function at 0x42dcd6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00438eea
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00438eea
push eax
mov eax, edi
call fcn.00438eea
push eax
mov eax, esi
call fcn.00438eea
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00438ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e683
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.00438bc7
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42e6e4
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42e6e4
cmp byte [ebp - 0x102], 0
je 0x42e6e4
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00438d15
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f8c7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x42f948
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x42f8f9
add word [ebp - 6], 0x2000
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x42f90b
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x42f917
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0042f7a3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f93c
push ebp
mov eax, dword [ebp - 4]
call fcn.0042f83b
pop ecx
mov ebx, eax
cmp bl, 2
je 0x42f917
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437f87
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x437fc4
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x108]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
push esp
call sub.KERNEL32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
test bl, bl
je 0x437fe4
lea eax, [esp + 0x108]
push eax
call sub.KERNEL32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00438d15
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x438194
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4381c3
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00438ca0
jmp 0x4381e1
call sub.KERNEL32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004380c9
mov edi, eax
test ebx, ebx
je 0x4381e1
cmp dword [esi], 0
je 0x4381e1
dec ebx
jmp 0x4381ca
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x438b7e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00437e7d
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x55512a], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x438b48
push eax
push esi
push ebx
call sub.KERNEL32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43b7dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x43b815
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00438ca0
jmp 0x43b81e
mov eax, ebx
mov edx, esi
call fcn.00438c56
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43b826
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x43b847
mov al, byte [esp]
jmp 0x43b849
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4445e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00443f6c
test byte [ebp + 0xd], 0xc0
jne 0x444604
mov eax, dword [0x453830]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x444611
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x44463e
je 0x444650
sub ecx, 0x100
je 0x44465e
sub ecx, 0x100
je 0x444665
sub ecx, 0x100
je 0x444657
jmp 0x44466c
sub ecx, 0x600
je 0x444665
sub ecx, 0x100
je 0x444650
jmp 0x44466c
mov edi, 1
jmp 0x444671
mov edi, 2
jmp 0x444671
mov edi, 4
jmp 0x444671
mov edi, 5
jmp 0x444671
mov edi, 3
test byte [ebp + 0xd], 1
je 0x444698
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x453d90]
test al, 0x80
je 0x444691
mov ebx, 0x80
jmp 0x4446aa
mov ebx, 1
jmp 0x4446aa
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4446aa
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4446bc
je 0x4446c5
dec eax
je 0x4446ce
jmp 0x4446d7
mov dword [ebp - 4], 0x80000000
jmp 0x4446e6
mov dword [ebp - 4], 0x40000000
jmp 0x4446e6
mov dword [ebp - 4], 0xc0000000
jmp 0x4446e6
push 1
call fcn.0044432c
pop ecx
mov ebx, eax
jmp 0x4447d2
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x444702
sub eax, 0x10
je 0x444709
sub eax, 0x10
je 0x444712
sub eax, 0x10
je 0x44471b
jmp 0x44471b
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x444722
mov dword [ebp - 8], 1
jmp 0x444722
mov dword [ebp - 8], 2
jmp 0x444722
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x44478b
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x444780
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x444780
add ebx, 0xffffffb2
push ebx
call fcn.0044432c
pop ecx
mov ebx, eax
jmp 0x4447d2
mov edi, esi
push edi
call fcn.00444544
pop ecx
test eax, eax
je 0x44479f
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4447ab
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0044406c
add esp, 8
mov ebx, eax
inc eax
jne 0x4447d2
push 4
call fcn.0044432c
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.00443fa0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447964
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x4546dc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x447a1c
cmp byte [0x44d062], 0
je 0x4479d6
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.00447604
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4479bf
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.00447604
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4479bf
lea ebx, [ebp - 0x54]
jmp 0x4479c0
inc ebx
call fcn.0044791c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x447a3d
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4546e0
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0043d2d0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4546e3
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x447a3d
cmp dword [0x4546dc], 0xffffffff
je 0x447a3d
mov eax, dword [0x4546dc]
test eax, eax
je 0x447a3d
cmp byte [eax], 0
je 0x447a3d
push esi
push eax
call fcn.00447acc
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a3f3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x44a42b]
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x44a409
or bl, 1
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x44a418
or bl, 4
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x44a427
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x44aaa2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x44ab23
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [eax + 0xcc], 0
je 0x44aae8
push 0
lea edx, [ebp - 4]
mov eax, dword [0x554ffc]
call fcn.00426f69
mov eax, dword [ebp - 4]
call fcn.00438eea
push eax
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_ShowWindow
jmp 0x44ab0d
push 9
lea edx, [ebp - 4]
mov eax, dword [0x554ffc]
call fcn.00426f69
mov eax, dword [ebp - 4]
call fcn.00438eea
push eax
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab2a
lea eax, [ebp - 4]
call fcn.00438bc7
ret