joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f028
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43f044
cmp dword [esi + 4], 0
je 0x43f071
test byte [ebx + 0x55], 1
jne 0x43f063
mov eax, ebx
call fcn.0043dc80
test eax, eax
jne 0x43f063
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f181
mov edx, esi
mov eax, ebx
call fcn.0043eb48
jmp 0x43f181
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43f17a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440df8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043b848
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f028
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440df8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f181
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445660
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47bb90]
cmp byte [eax + 0xc], 0
je 0x4457cd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4457c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47cbc0], 0
jne 0x4456b4
push 0x4457d4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4457dc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbc0], eax
cmp dword [0x47ab80], 0
jne 0x4457af
push 0x4457ec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47ab80], eax
cmp dword [0x47ab80], 0
je 0x4457af
push 0x4457f8
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbc4], eax
push 0x445808
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbc8], eax
push 0x44581c
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbcc], eax
push 0x445834
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbd0], eax
push 0x44584c
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbd4], eax
push 0x445860
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbd8], eax
push 0x445878
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbdc], eax
push 0x445890
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbe0], eax
push 0x4458ac
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbe4], eax
push 0x4458b8
mov eax, dword [0x47ab80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cbe8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4457cd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449d9c
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.0040430c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x449deb
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.00404574
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451c4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451c9c]
test si, 4
je 0x451c60
or bl, 1
test si, 8
je 0x451c6a
or bl, 4
test si, 1
je 0x451c74
or bl, 8
test si, 2
je 0x451c7e
or bl, 0x10
test si, 0x10
je 0x451c88
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451c97
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451ca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451cd8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451cb9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451cc8
or bl, 4
test esi, 0x20000000
je 0x451cd3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458344
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458356
add esp, 0xfffffff0
call fcn.00403904
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420c54
mov eax, dword [0x47b868]
mov dword [eax + 4], ebx
mov dword [eax], 0x4586e8
mov eax, dword [0x47b874]
mov dword [eax + 4], ebx
mov dword [eax], 0x4586f4
mov eax, ebx
call fcn.00458700
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
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, 0x454b78
push eax
push 0
push 0
mov eax, dword [0x47b9ac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422694]
call fcn.00423da8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422694]
call fcn.00423da8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422694]
call fcn.00423da8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458b68
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a44
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a44
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458493
call fcn.0040395c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458828
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 0x4589d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4589b4
mov dl, 1
mov eax, dword [0x416da8]
call fcn.00403570
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040430c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4589a3
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.004459c0
test al, al
je 0x458996
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, 0x4589e4
lea eax, [ebp - 0x254]
call fcn.00409288
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458996
xor eax, eax
push ebp
push 0x45898f
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 0x458a1c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458978
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404574
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 0x458978
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458996
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458899
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b260
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 0x4589da
lea eax, [ebp - 0x260]
call fcn.0040430c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47cc04]
cmp byte [eax + 0xa5], 0
jne 0x459379
cmp dword [0x47cc1c], 0
jne 0x45933a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4592c4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47cc1c], eax
cmp dword [0x47cc18], 0
jne 0x459355
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47cc18], eax
cmp dword [0x47cc20], 0
jne 0x459379
push esp
push 0
push 0
push 0x459268
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47cc20], eax
pop edx
ret
Function at 0x4594a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4594b7
add esp, 0xfffffff0
call fcn.00403904
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420c54
mov eax, dword [0x47b99c]
cmp word [eax + 2], 0
jne 0x4594df
mov eax, dword [0x47b99c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045aad4
mov eax, dword [0x47ba3c]
cmp word [eax + 2], 0
jne 0x4594f9
mov eax, dword [0x47ba3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045accc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416800]
call fcn.00403570
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], 0x80000018
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 [0x423114]
call fcn.0042a8f8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459680
mov eax, dword [0x47b8d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042acc8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b23c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47b8d0]
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.0040b630
test eax, eax
je 0x4595ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bd0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b658
test eax, eax
je 0x459602
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.00404574
mov eax, dword [0x47b7b4]
cmp byte [eax], 0
jne 0x459636
mov eax, ebx
call fcn.004597a8
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.0045b418
mov eax, ebx
call fcn.0045bdc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459676
call fcn.0040395c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cc04]
cmp dword [eax + 0x30], 0
je 0x459ac6
cmp dword [ebx + 0x94], 0
jne 0x459ac0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4599ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459ac0
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 0x459a86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459ac0
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.00418f58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459a95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a5a4
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 0x45a5d9
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.004043fc
jmp 0x45a5e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404360
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b5f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b635
mov eax, esi
call fcn.004410fc
test al, al
je 0x45b635
mov eax, dword [ebx + 0x84]
call fcn.00440df8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b635
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440df8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45f0a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f17c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47cc8c], 0
jne 0x45f160
lea eax, [ebp - 4]
mov edx, 0x45f194
call fcn.004043a4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004047bc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45f160
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f159
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45f143
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45f1a4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45f143
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x47cc8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f160
mov eax, dword [ebp - 0xc]
call fcn.0040273c
ret
mov ebx, dword [0x47cc8c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f183
lea eax, [ebp - 4]
call fcn.0040430c
ret

Function at 0x464a8c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x47ccb0], 0
jne 0x464aaf
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464a00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47ccb0], eax
ret

Function at 0x468460
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46848e
mov eax, ebx
call fcn.00468f18
cmp dword [ebx + 0x3c], 0
je 0x468487
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4684ff
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4684f1
cmp dword [ebx + 8], 0
je 0x4684b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4684c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4684f1
cmp dword [ebx + 8], 0
je 0x4684a3
cmp eax, 3
je 0x4684d5
dec eax
jne 0x4684a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4684a3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4684a3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46851d
cmp dword [ebx + 0x10], 0xcc
je 0x46851d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00468528
pop ebx
ret
Function at 0x1003b856
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1003a93f
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
invalid
invalid

Function at 0x1003bdf8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
invalid
dec dword [ecx - 0x3a]
test ebx, esp
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp
clc
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
call dword [eax]
outsd dx, dword [esi]
pop ss
add al, 0x8d
test esp, edx
clc
invalid
Function at 0x402eb8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f11
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d54
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d54
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402efb
inc ebx
jmp 0x402ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f18
lea eax, [ebp - 8]
call fcn.00404fac
ret

Function at 0x402f20
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404fac
test esi, esi
jne 0x402f57
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040509c
jmp 0x402f78
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d54
mov dword [esp], eax
test esi, esi
je 0x402f78
cmp dword [ebx], 0
je 0x402f78
dec esi
jmp 0x402f5f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403edc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ac020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f54
xor eax, eax
push ebp
push 0x403f4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403f90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f54
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ac020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ac020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404e28
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae04c], 0
je 0x404e89
cmp word [0x4ae220], 0xd7b2
jne 0x404e51
cmp dword [0x4ae228], 0
jbe 0x404e51
mov eax, 0x4ae21c
call dword [0x4ae238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ac090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404eb0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ac030], 0
jne 0x404ea5
push 0
push 0x4ac088
push 0x4ac090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x407274
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4072da
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040522c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004038e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4072c4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4072e1
lea eax, [ebp - 0x10]
call fcn.00404fac
ret