joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479398
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 0x479543
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x479524
mov dl, 1
mov eax, dword [0x41ad8c]
call fcn.00403304
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404184
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x479513
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.00466984
test al, al
je 0x479506
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, 0x479554
lea eax, [ebp - 0x254]
call fcn.0040a224
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x479506
xor eax, eax
push ebp
push 0x4794ff
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 0x47958c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4794e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
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 0x4794e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479506
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x479409
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f468
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 0x47954a
lea eax, [ebp - 0x260]
call fcn.00404184
ret

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

Disassembly:
push ecx
mov eax, dword [0x534bf4]
cmp byte [eax + 0xa5], 0
jne 0x479f31
cmp dword [0x534c0c], 0
jne 0x479ef2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x479e7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x534c0c], eax
cmp dword [0x534c08], 0
jne 0x479f0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x534c08], eax
cmp dword [0x534c10], 0
jne 0x479f31
push esp
push 0
push 0
push 0x479e20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x534c10], eax
pop edx
ret
Function at 0x47a028
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47a03f
add esp, 0xfffffff0
call fcn.00403698
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425a20
mov eax, dword [0x533654]
cmp word [eax + 2], 0
jne 0x47a067
mov eax, dword [0x533654]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047b710
mov eax, dword [0x5337ac]
cmp word [eax + 2], 0
jne 0x47a081
mov eax, dword [0x5337ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047b908
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a728]
call fcn.00403304
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a728]
call fcn.00403304
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 [0x427fbc]
call fcn.0042fdb0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47a208
mov eax, dword [0x5334b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430180
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47bea8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5334b8]
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.0040e6e8
test eax, eax
je 0x47a176
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c04
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e710
test eax, eax
je 0x47a18a
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.00404404
mov eax, dword [0x5331f8]
cmp byte [eax], 0
jne 0x47a1be
mov eax, ebx
call fcn.0047a330
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.0047c084
mov eax, ebx
call fcn.0047ca6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47a1fe
call fcn.004036f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a5b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x534bf4]
cmp dword [eax + 0x30], 0
je 0x47a65a
cmp dword [ebx + 0x94], 0
jne 0x47a654
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47a540
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47a654
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 0x47a61a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47a654
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.0041cfd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47a629
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47b1bc
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 0x47b1f1
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.00404274
jmp 0x47b1fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47c260
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47c2a1
mov eax, esi
call fcn.00461f08
test al, al
je 0x47c2a1
mov eax, dword [ebx + 0x84]
call fcn.00461c04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47c2a1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00461c04
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47d5f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419eec]
call fcn.00404ecc
xor eax, eax
push ebp
push 0x47d73c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x523268], 0
jne 0x47d64b
mov ecx, dword [0x53322c]
mov dl, 1
mov eax, dword [0x407eb8]
call fcn.0040d914
call fcn.00403b00
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ca4
mov eax, ebx
call fcn.00404af4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47d74c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004060f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b04
test eax, eax
jle 0x47d6e3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47d6dc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040441c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404404
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f08
test eax, eax
jne 0x47d6dc
mov ebx, 0x15
jmp 0x47d6e8
mov ebx, 0x10
jmp 0x47d6e8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x523268]
call fcn.0047d550
mov eax, dword [ebp - 8]
call fcn.0047d550
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040610c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d743
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, dword [0x419eec]
call fcn.00404f9c
ret

Function at 0x48205c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4820b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x533318]
cmp byte [eax], 0
je 0x482086
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x4820a0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4820bd
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x482134
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4821ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x533318]
cmp byte [eax], 0
je 0x482164
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x482191
lea eax, [ebp - 4]
mov edx, esi
call fcn.004043bc
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 8]
call fcn.00404654
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4821b3
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041a8
ret

Function at 0x4823fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.004077c8
cmp ax, 0xffff
jne 0x48241d
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x48249e
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x48249e
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x482464
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x482457
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x48249e
cmp dword [ebp + 8], 0
jle 0x48249e
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00430814
mov esi, eax
test esi, esi
jle 0x482495
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004077dc
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x482fb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x483018
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404404
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48301f
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x4830bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x483118
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4830e7
call fcn.0040ee64
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004029b0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483118
call fcn.0040ee64
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x48c3b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x48c538
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x48c51d
cmp byte [ebx + 0x268], 0
je 0x48c51d
mov eax, dword [ebp - 4]
call fcn.004938e0
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x48c516
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x48c45a
dec ax
je 0x48c430
sub ax, 0x12
jne 0x48c474
call fcn.00403bac
jmp 0x48c51d
cmp byte [ebx + 0x269], 0
je 0x48c4fc
mov eax, ebx
call fcn.00452714
test al, al
je 0x48c4fc
xor edx, edx
mov eax, ebx
call fcn.00452738
jmp 0x48c4fc
mov eax, dword [esi]
call fcn.00404b04
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404cec
jmp 0x48c4fc
cmp byte [ebx + 0x269], 0
je 0x48c491
mov eax, ebx
call fcn.00452714
test al, al
jne 0x48c491
mov dl, 1
mov eax, ebx
call fcn.00452738
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x48c4a9
mov eax, esi
call fcn.004048a0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.004049c8
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00404b70
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.0048c1e4
test al, al
je 0x48c4fc
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.004049c8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00404b10
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c51d
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.00493914
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c53f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048b8
ret

Function at 0x490fa0
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x533a5c]
cmp dword [eax], 2
je 0x490fbe
mov ecx, 0x30e
mov edx, 0x490ff0
mov eax, 0x491024
call fcn.004040e0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x490f40
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x534fc8], eax
cmp dword [0x534fc8], 0
jne 0x490fe5
call fcn.0040ee64
ret
Function at 0x491320
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x533318]
cmp byte [eax], 0
jne 0x49134e
mov ecx, 0xaf
mov edx, 0x49139c
mov eax, 0x4913d0
call fcn.004040e0
mov eax, ebx
call fcn.004048a0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x49138d
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404a5c
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x533318]
cmp byte [eax], 0
jne 0x491407
mov ecx, 0xbd
mov edx, 0x491448
mov eax, 0x49147c
call fcn.004040e0
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x49143a
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x49143a
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x49143a
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x49b920
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x49b984
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404404
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b98b
lea eax, [ebp - 0xc]
call fcn.00404184
ret

Function at 0x49c2fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49c3b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404654
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49c39c
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047e0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404654
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49c39c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49c3c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49c39c
cmp dword [ebp - 8], 0x34
jne 0x49c39c
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c3b9
lea eax, [ebp - 0x10]
call fcn.00404184
ret
Function at 0x49d2cc
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x49d2e1
add esp, 0xfffffff0
call fcn.00403698
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403304
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004041d8
mov eax, esi
call fcn.00404654
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x49d336
mov ecx, dword [0x5338d8]
mov dl, 1
mov eax, dword [0x49d0b4]
call fcn.004967ac
call fcn.00403b00
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d35d
call fcn.004036f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49dc4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049dc08
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49dcc0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x536aa8], eax
mov ebx, 0x49db94
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49dcc0
xor eax, eax
push ebp
push 0x49dcb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dcc0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49dcc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049dc08
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49dd33
mov ebx, dword [0x536aa8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49dd33
xor eax, eax
push ebp
push 0x49dd2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dd33
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e944
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49eaae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x533318]
cmp byte [eax], 0
jne 0x49e99f
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040441c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0043a98c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404a78
jmp 0x49ea86
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49e9d1
mov eax, esi
call fcn.004048a0
jmp 0x49ea86
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x49ea08
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x533528]
call fcn.004065b8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43a534]
call fcn.0040d894
call fcn.00403b00
cmp dword [ebp - 8], 1
jne 0x49ea15
mov dword [ebp - 8], 2
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, esi
call fcn.00404e68
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
call fcn.00404af4
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49ea76
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x533a7c]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43a534]
call fcn.0040d894
call fcn.00403b00
mov eax, dword [esi]
call fcn.00404af4
mov edx, eax
mov eax, esi
call fcn.00404a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eab5
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004041a8
ret