joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7ea8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a804f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x11b], 0x12
test byte [ebx + 0x1c], 0x10
jne 0x4a8031
mov eax, ebx
call fcn.004b1f1c
test byte [eax + 0x2ec], 8
jne 0x4a8031
push 0
mov eax, ebx
call fcn.004b1f40
push eax
push 0x4514
mov eax, ebx
call fcn.004b1f40
push eax
call sub.user32.dll_SendMessageA
dec eax
je 0x4a8031
cmp word [ebx + 0x1ba], 0
je 0x4a7f3a
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x4a8031
mov eax, ebx
call fcn.004b1f1c
test eax, eax
je 0x4a8031
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x4a8026
mov byte [ebx + 0xa1], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x4a7f92
mov al, byte [ebx + 0xa1]
cmp al, 2
je 0x4a7f92
cmp al, 1
je 0x4a7f92
cmp al, 3
je 0x4a7f92
mov eax, ebx
call fcn.004b1f1c
lea edx, [ebp - 0x14]
call fcn.00452d88
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x91]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x4a7fda
lea edx, [ebp - 0x18]
mov eax, dword [0x6981a8]
mov eax, dword [eax]
call fcn.00473bc8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.0040bad0
mov eax, dword [0x6981a8]
mov eax, dword [eax]
call fcn.004739dc
push 0
mov eax, dword [0x6981a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a8016
mov eax, ebx
call fcn.004b1f1c
test eax, eax
je 0x4a8007
mov eax, ebx
call fcn.004b1f1c
lea edx, [ebp - 0x1c]
call fcn.004533e8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.0040bad0
push 0
mov eax, ebx
call fcn.004b1f40
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0xa4]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x4a802d
mov eax, ebx
call fcn.004a7940
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8056
lea eax, [ebp - 0x1c]
call fcn.00404cac
lea eax, [ebp - 0x18]
call fcn.00404cac
ret
Function at 0x4bca28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4bca4f
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4bca61
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4bca6d
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004bc8b8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bcaba
xor eax, eax
push ebp
push 0x4bcab3
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004bc8e8
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcaba
ret
cmp byte [ebp - 0xd], 2
je 0x4bca6d
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb588
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4cb5c0
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
test byte [0xfffffc6c], al
test byte [0xfffffc6c], al
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x4cb56a
call fcn.004ca16a
add dword [0xa580ed7b], 0xfffff8d4
add byte [eax - 0x72a5b], al
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
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
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004ca16a
aam 0xd8
jg 0x4cb683
lea eax, [ebp - 0x72c]
push eax
call fcn.004ca17a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004ca12f
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.004ca16a
xlatb
mov ecx, 0x858dd6d1
call 0x514cb681
push 0x40
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
push 5
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.004ca0db
add esp, 0xc
lea eax, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
test eax, ebp
clc
invalid
call fcn.004ca16a
jp 0x4cb728
cdq
sahf
and dword [ebp - 0x700], 0
jmp 0x4cb6ea
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4cb703
mov eax, dword [ebp - 0x700]
and byte [ebp + eax - 0x394], 0
jmp 0x4cb6dd
push 4
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x18]
push eax
lea eax, [ebp - 0x540]
push eax
call fcn.004ca0db
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x540]
sub ecx, eax
mov dword [ebp - 0x540], ecx
push 4
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004ca0db
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
push 4
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x10]
sar dl, 0xff
jmp [ebx]
Function at 0x4e45d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e4641
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x692dd0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4e462b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004e45c0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4df16c]
call fcn.004e4668
mov dword [0x692e34], eax
mov eax, dword [ebp - 4]
call fcn.004e4570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4648
lea eax, [ebp - 8]
call fcn.00406e54
ret

Function at 0x4eec34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405168
xor eax, eax
push ebp
push 0x4eeca8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f80
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00405304
mov esi, ebx
test esi, esi
jle 0x4eec92
mov ebx, 1
mov eax, edi
call fcn.004051d0
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 5]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4eec79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eecaf
lea eax, [ebp - 4]
call fcn.00404cac
ret

Function at 0x4efb2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405168
xor eax, eax
push ebp
push 0x4efc40
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x4efc07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4efc5c
call fcn.0040b3b0
test al, al
je 0x4efbd9
mov byte [ebp - 5], 1
call fcn.0040cf40
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x10]
call fcn.0040db84
push dword [ebp - 0x10]
push 0x4efc78
push dword [ebp - 4]
push 0x4efc84
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405040
mov edx, dword [ebp - 0xc]
mov eax, 0x4efc90
call fcn.004eecb8
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x4efcb8
call fcn.00404fcc
mov eax, dword [ebp - 0x14]
mov cx, word [0x4efcc8]
xor edx, edx
call fcn.0044c25c
jmp 0x4efbfd
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405178
push eax
push 0x4efccc
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x4efbfd
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4efc1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efc47
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404cd0
lea eax, [ebp - 4]
call fcn.00404cac
ret
Function at 0x4f0d88
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f0ed5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404cac
mov dword [ebp - 0xc], 0x10
mov eax, esi
call fcn.00405178
mov edi, eax
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x4f0e97
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x4f0e8c
push 0
mov eax, esi
call fcn.00404f80
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x4f0e83
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x4f0e83
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x4f0e83
inc edi
lea esi, [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
lea edx, [ebp - 0x98]
xor ecx, ecx
mov eax, 0x4f0eec
call fcn.0040c1cc
mov edx, dword [ebp - 0x90]
mov eax, ebx
call fcn.00404f88
inc esi
dec edi
jne 0x4f0e48
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
call fcn.0040a940
mov edx, dword [ebp - 0x9c]
mov eax, ebx
call fcn.00404d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0edc
lea eax, [ebp - 0x9c]
call fcn.00404cac
lea eax, [ebp - 0x90]
call fcn.00404cac
ret
Function at 0x4f0ef4
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f1073
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cac
mov dword [ebp - 0x10], 0x10
xor edx, edx
push ebp
push 0x4f1031
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x4f1009
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x4f0ffe
push 0
push esi
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x4f0ff5
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x90]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x4f0ff5
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x4f0ff5
inc esi
lea ebx, [ebp - 0x90]
lea eax, [ebp - 0x94]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0x9c]
xor ecx, ecx
mov eax, 0x4f108c
call fcn.0040c1cc
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.00404f88
mov eax, dword [ebp - 4]
inc ebx
dec esi
jne 0x4f0fb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a940
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00404d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f104f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f107a
lea eax, [ebp - 0xa0]
call fcn.00404cac
lea eax, [ebp - 0x94]
call fcn.00404cac
ret
Function at 0x4f1094
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405168
xor eax, eax
push ebp
push 0x4f12aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404cac
xor edx, edx
push ebp
push 0x4f1260
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41cc64]
call fcn.00422090
mov esi, eax
push 0
push 0
mov eax, esi
call fcn.00421b20
mov dl, 1
mov eax, dword [0x41cd54]
call fcn.00403e50
mov ebx, eax
push 0
push 0
mov eax, ebx
call fcn.00421b20
push 0
push 0
mov eax, ebx
call fcn.00421b20
mov eax, esi
call fcn.00421b34
push edx
push eax
mov eax, ebx
call fcn.00421b84
mov eax, ebx
call fcn.00421b34
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00421d2c
push 0
push 0
mov eax, ebx
call fcn.00421b20
mov eax, esi
call fcn.00403e80
mov dword [ebp - 0x14], 0x10
mov esi, dword [ebx + 4]
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x4f1231
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x4f1226
push 0
mov eax, ebx
call fcn.00421b34
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x4f121d
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x4f121d
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x4f121d
inc edi
lea esi, [ebp - 0x94]
lea eax, [ebp - 0x98]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, 0x4f12c0
call fcn.0040c1cc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.00404f88
mov eax, dword [ebp - 8]
inc esi
dec edi
jne 0x4f11de
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a940
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.00404d00
mov eax, ebx
call fcn.00403e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f127e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f12b1
lea eax, [ebp - 0xa4]
call fcn.00404cac
lea eax, [ebp - 0x98]
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404cac
ret
Function at 0x4f2f58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402a88
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4f2fdb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, dword [ebp - 4]
je 0x4f2fb8
mov ecx, 0x4f2ff4
mov dl, 1
mov eax, dword [0x4f2efc]
call fcn.0040ed28
call fcn.0040464c
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00404e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2fe2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00402aa8
ret
Function at 0x4fa438
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x4fa447
add esp, 0xfffffff0
call fcn.004041e4
mov esi, ecx
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00403e50
mov dword [edi + 4], esi
lea eax, [edi + 0x10]
call fcn.004053ec
mov dl, 1
mov eax, dword [0x41ca64]
call fcn.00403e50
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x14], eax
mov word [edi + 0x18], 0
call sub.kernel32.dll_GetUserDefaultLangID
mov word [edi + 0x1a], ax
xor eax, eax
mov dword [edi + 0x20], eax
xor eax, eax
mov dword [edi + 0x24], eax
mov eax, edi
test bl, bl
je 0x4fa4ab
call fcn.0040423c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4fbf34
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x4fbf43
add esp, 0xfffffff0
call fcn.004041e4
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00403e50
mov dl, 1
mov eax, dword [0x4f9890]
call fcn.00403e50
mov dword [edi + 0x18], eax
mov ecx, edi
mov dl, 1
mov eax, dword [0x4f9f04]
call fcn.004fb5a8
mov dword [edi + 4], eax
mov ecx, edi
mov dl, 1
mov eax, dword [0x4fa05c]
call fcn.004fb95c
mov dword [edi + 8], eax
mov ecx, edi
mov dl, 1
mov eax, dword [0x4f9d28]
call fcn.004fbe2c
mov dword [edi + 0xc], eax
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
mov word [edi + 0x10], si
mov edx, esi
mov eax, dword [edi + 0x18]
call fcn.004fa42c
mov eax, edi
test bl, bl
je 0x4fbfbc
call fcn.0040423c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x500090
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x2c], 0
xor eax, eax
mov dword [ebx + 8], eax
mov word [ebx + 0x36], 0
mov ax, word [0x692ee8]
mov word [ebx + 4], ax
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
call fcn.00404cac
lea eax, [ebx + 0x14]
call fcn.004053ec
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
xor eax, eax
mov dword [ebx + 0x28], eax
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov word [ebx + 0x34], 0
xor eax, eax
mov dword [ebx + 0x38], eax
mov byte [ebx + 0x3c], 1
mov byte [ebx + 0x3d], 0
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x48], 0xffffffff
mov byte [ebx + 0x4d], 0
pop ebx
ret
Function at 0x5025f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x502603
add esp, 0xfffffff0
call fcn.004041e4
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x50268e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403e50
mov byte [esi + 0x40], 0
mov byte [esi + 0x2c], 1
mov dl, 1
mov eax, dword [0x5021dc]
call fcn.00403e50
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x502160]
call fcn.00403e50
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
call fcn.00404cac
mov eax, dword [0x699718]
mov dword [esi + 0x3c], eax
mov byte [esi + 0x34], 1
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402ec8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00502c10
mov byte [esi + 0x2d], 1
lea eax, [esi + 0x30]
call fcn.00404cac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502695
lea eax, [ebp - 4]
call fcn.00404cac
ret

Function at 0x506eb4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, 0xff
mov byte [esp], 0
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404f14
add esp, 0x100
pop ebx
ret

Function at 0x506ee8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405178
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x506f01
test al, 0x10
jne 0x506f05
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x50f0b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x50f0e2
mov eax, ebx
call fcn.0050fb6c
cmp dword [ebx + 0x3c], 0
je 0x50f0db
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x50f153
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x50f145
cmp dword [ebx + 8], 0
je 0x50f104
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 0x50f116
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50f145
cmp dword [ebx + 8], 0
je 0x50f0f7
cmp eax, 3
je 0x50f129
dec eax
jne 0x50f0f7
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 0x50f0f7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x50f0f7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x50f171
cmp dword [ebx + 0x10], 0xcc
je 0x50f171
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.0050f17c
pop ebx
ret
Function at 0x532194
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x532301
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x214], 1
push 0xff
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebx + 0x210]
call fcn.00459b6c
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404f14
mov eax, dword [ebp - 0x110]
mov edx, 0x53231c
call fcn.004050c4
je 0x53224c
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404f14
mov eax, dword [ebp - 0x114]
mov edx, 0x532334
call fcn.004050c4
je 0x53224c
push 0x541
push 0
push 0
mov eax, dword [ebx + 0x210]
call fcn.00459b6c
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x214], 0
mov eax, dword [ebx + 0x210]
call fcn.00459b6c
push eax
call sub.user32.dll_GetDC
mov edi, eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
push 0xcc0020
mov eax, dword [ebx + 0x178]
push eax
mov eax, dword [ebx + 0x174]
push eax
push edi
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00509a90
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
push esi
call sub.gdi32.dll_DeleteDC
push edi
push 0
call sub.user32.dll_ReleaseDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532308
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404cd0
ret