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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49eb50]
cmp byte [eax + 0xc], 0
je 0x444c91
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444c8a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49fb68], 0
jne 0x444b78
push 0x444c98
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444ca0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb68], eax
cmp dword [0x49cd80], 0
jne 0x444c73
push 0x444cb0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49cd80], eax
cmp dword [0x49cd80], 0
je 0x444c73
push 0x444cbc
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb6c], eax
push 0x444ccc
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb70], eax
push 0x444ce0
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb74], eax
push 0x444cf8
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb78], eax
push 0x444d10
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb7c], eax
push 0x444d24
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb80], eax
push 0x444d3c
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb84], eax
push 0x444d54
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb88], eax
push 0x444d70
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb8c], eax
push 0x444d7c
mov eax, dword [0x49cd80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49fb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c91
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448b1c
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.00404568
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448b6b
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.004047d8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45033c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45038c]
test si, 4
je 0x450350
or bl, 1
test si, 8
je 0x45035a
or bl, 4
test si, 1
je 0x450364
or bl, 8
test si, 2
je 0x45036e
or bl, 0x10
test si, 0x10
je 0x450378
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450387
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450390
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4503c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4503a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4503b8
or bl, 4
test esi, 0x20000000
je 0x4503c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456a8c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456a9e
add esp, 0xfffffff0
call fcn.00403a14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004234c0
mov eax, dword [0x49e694]
mov dword [eax + 4], ebx
mov dword [eax], 0x456e30
mov eax, dword [0x49e6a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x456e3c
mov eax, ebx
call fcn.00456e48
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41ad80]
call fcn.004036ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41ad80]
call fcn.004036ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41ad80]
call fcn.004036ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41ad80]
call fcn.004036ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41ad80]
call fcn.004036ac
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, 0x453260
push eax
push 0
push 0
mov eax, dword [0x49e890]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424f1c]
call fcn.004265dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424f1c]
call fcn.004265dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424f1c]
call fcn.004265dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457298
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457160
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457160
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457160
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456bdb
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456f44
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 0x4570ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4570d0
mov dl, 1
mov eax, dword [0x41b3e4]
call fcn.004036ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404568
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4570bf
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.00444e84
test al, al
je 0x4570b2
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, 0x457100
lea eax, [ebp - 0x254]
call fcn.00409b98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4570b2
xor eax, eax
push ebp
push 0x4570ab
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 0x457138
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457094
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
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 0x457094
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4570b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456fb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f6b0
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 0x4570f6
lea eax, [ebp - 0x260]
call fcn.00404568
ret

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

Disassembly:
push ecx
mov eax, dword [0x49fbb4]
cmp byte [eax + 0xa5], 0
jne 0x457aa9
cmp dword [0x49fbcc], 0
jne 0x457a6a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4579f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49fbcc], eax
cmp dword [0x49fbc8], 0
jne 0x457a85
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49fbc8], eax
cmp dword [0x49fbd0], 0
jne 0x457aa9
push esp
push 0
push 0
push 0x457998
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49fbd0], eax
pop edx
ret
Function at 0x45813c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49fbb4]
cmp dword [eax + 0x30], 0
je 0x4581e6
cmp dword [ebx + 0x94], 0
jne 0x4581e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4580cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4581e0
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 0x4581a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4581e0
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.0041d330
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4581b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458d44
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 0x458d79
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.00404658
jmp 0x458d86
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459e98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459ed9
mov eax, esi
call fcn.00440544
test al, al
je 0x459ed9
mov eax, dword [ebx + 0x84]
call fcn.00440240
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459ed9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440240
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45f638
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45f662
cmp dword [ebx + 0x64], 0
jne 0x45f662
cmp dword [ebx + 0x6c], 0
jne 0x45f662
mov esi, edi
jmp 0x45f6f0
cmp esi, 0xffffffff
jne 0x45f66d
dec esi
jmp 0x45f6f0
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x45f6f0
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0045ec9c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45f6b8
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45f6bd
mov word [edx], 0
dec eax
test eax, eax
jne 0x45f69e
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45f6e4
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45f6e9
mov word [edx], 0
dec eax
test eax, eax
jne 0x45f6ca
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x45f74e
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0045f3c0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45f739
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45f74e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45f642
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463ea4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4a0d6c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x463ec6
shr eax, 1
xor eax, 0xedb88320
jmp 0x463ec8
shr eax, 1
dec edx
jne 0x463eb4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x463ead
mov byte [0x4a116c], 1
pop esi
pop ebx
ret

Function at 0x463ee4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4a116c], 0
jne 0x463efb
call fcn.00463ea4
mov eax, edi
dec eax
test eax, eax
jl 0x463f24
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a0d6c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x463f05
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x466498
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4664c9
dec al
je 0x466505
dec al
je 0x466549
dec al
je 0x4665b4
jmp 0x46663e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46663e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4664d9
jmp 0x46663e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46663e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x466515
jmp 0x46663e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46663e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x466577
xor ebp, ebp
jmp 0x466588
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x466591
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x466559
jmp 0x46663e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46663e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x46660c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00463f2c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4665c8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x489998
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4899bd
cmp dword [esp + 4], 5
jb 0x4899bd
mov al, 1
jmp 0x4899bf
xor eax, eax
add esp, 0x94
ret
Function at 0x402880
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0
push ebx
push eax
call dword [0x40d044]
test eax, eax
je 0x4028da
push 0x40b111
push ebx
call fcn.004040f0
add esp, 8
mov esi, eax
test eax, eax
je 0x4028da
push esi
mov edx, 0x40e2c8
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4028bc
push eax
push 1
push 0x40e2c8
call fcn.00404500
add esp, 0x10
push esi
call fcn.004042c0
pop ecx
lea ecx, [ebp - 0x800]
mov edx, ebx
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4028e5
pop eax
lea edx, [ebp - 0x800]
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4028f9
jmp 0x402903
dec eax
cmp byte [ebp + eax - 0x801], 0x5c
jne 0x402902
lea ecx, [ebp + eax - 0x800]
mov edx, 0x40b10e
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x40291c
pop eax
push 0x32
lea eax, [ebp - 0x400]
push eax
push 0x1002
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x40b10c
lea eax, [ebp - 0x800]
push eax
call fcn.004040f0
add esp, 8
mov esi, eax
test eax, eax
je 0x402976
lea eax, [ebp - 0x400]
push eax
push 0x40b109
push esi
call fcn.00404660
add esp, 0xc
push esi
call fcn.004042c0
pop ecx
push str.aavd9apeJUt
push ebx
call fcn.00401d60
test eax, eax
je 0x402999
push str.JUthnaac9uvdSdSapee
push ebx
call fcn.00401740
test eax, eax
je 0x402999
call fcn.004020b0
cmp byte [0x40d0be], 0
jne 0x4029a8
push ebx
call fcn.00401cc0
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x404780
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b5e4
push 0x405948
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2000000
call fcn.00407c70
pop ecx
mov dword [0x40d27c], eax
call fcn.00404940
test eax, eax
jne 0x4047c7
push 1
call fcn.00405930
pop ecx
mov dword [ebp - 4], 0
call fcn.00405be0
call fcn.00405c50
jmp loc.0041b000

Function at 0x406080
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x4060b2
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00405ef0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00403d00
pop ecx
mov esi, eax
test esi, esi
jne 0x4060e5
push 1
call fcn.00405930
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00405ef0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x40d264], eax
mov dword [0x40d268], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10976058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.109761a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1097607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1097606a
add dl, dl
jne 0x10976089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109760dc
xor eax, eax
add dl, dl
jne 0x10976096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1097617d
add dl, dl
jne 0x109760a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x109760b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x109760bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x109760c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x109760d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10976075
mov eax, 1
add dl, dl
jne 0x109760ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x109760f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x109760e1
sub eax, ebx
mov ebx, 1
jne 0x10976128
mov ecx, 1
add dl, dl
jne 0x1097610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10976119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10976105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10976075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1097613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1097614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10976136
cmp eax, 0x7d00
jae 0x1097616d
cmp eax, 0x500
jb 0x10976168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10976075
cmp eax, 0x7f
ja 0x10976170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10976075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1097619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10976075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

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