joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x811004]
jne 0x401100
repz ret
jmp fcn.0040132c

Function at 0x403bcb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x811004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004023b3
and dword [ebp - 0x14], 0
cmp dword [0x813acc], 0
mov dword [ebp - 0x18], eax
jne 0x403c7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403d26
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403d26
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x813acc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x813ad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x813ad4], eax
call edi
push eax
call esi
mov dword [0x813adc], eax
test eax, eax
je 0x403c7e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x813ad8], eax
mov eax, dword [0x813ad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403cd7
cmp dword [0x813adc], ecx
je 0x403cd7
push eax
call esi
push dword [0x813adc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403cd7
test ebx, ebx
je 0x403cd7
call edi
test eax, eax
je 0x403cce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403cce
test byte [ebp - 8], 1
jne 0x403cd7
or dword [ebp + 0x10], 0x200000
jmp 0x403d0a
mov eax, dword [0x813ad0]
cmp eax, dword [ebp - 0x18]
je 0x403d0a
push eax
call esi
test eax, eax
je 0x403d0a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403d0a
mov eax, dword [0x813ad4]
cmp eax, dword [ebp - 0x18]
je 0x403d0a
push eax
call esi
test eax, eax
je 0x403d0a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x813acc]
call esi
test eax, eax
je 0x403d26
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403d28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010f6
leave
ret
Function at 0x800590
Capabilities:
Get system information on windows
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x41c
mov eax, dword [0x811004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x8147cc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ebp, 0x1519a5
mov ebx, 0x8e46a7b8
mov dword [0x814434], ebx
cmp eax, 0x3dc
jne 0x8005e2
push 0
push 0x80ea5c
call esi
push 0
call edi
mov eax, dword [0x8147cc]
dec ebp
jne 0x8005c3
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelIo]
xor esi, esi
cmp eax, 0x997
jne 0x80062b
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x24], ebp
call edi
push ebp
call ebx
mov eax, dword [0x8147cc]
cmp esi, 0x845f8b
jne 0x800642
mov eax, dword [0x812940]
add eax, 0xa231
mov dword [0x8147cc], eax
cmp eax, 0x141
jne 0x80065d
mov dword [0x814008], 0xec58acac
mov dword [0x81400c], 0xffffffff
inc esi
cmp esi, 0x12cca12
jl 0x8005f3
call fcn.008001e0
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010f6
add esp, 0x41c
ret 0x10
Function at 0x10003544
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10003575
call fcn.1000350e
mov dword [eax], esi
call fcn.100034fb
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10002ef2
add esp, 0x14
push 0x16
pop eax
jmp 0x100035ca
test dword [ebp + 0xc], 0xfffffff9
jne 0x10003551
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100035a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003521
pop ecx
call fcn.100034fb
mov eax, dword [eax]
jmp 0x100035ca
test al, 0x10
jne 0x100035c8
test al, 1
je 0x100035c8
test byte [ebp + 0xc], 2
je 0x100035c8
call fcn.1000350e
mov dword [eax], 5
call fcn.100034fb
mov dword [eax], 0xd
jmp 0x10003599
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10004ac9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1028f610]
jne 0x10004ad3
repz ret
jmp fcn.10007ecd

Function at 0x1000a2e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100041b4
and dword [ebp - 4], 0
cmp dword [0x10291148], 0
mov ebx, eax
jne 0x1000a394
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000a445
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000a445
push eax
call fcn.10004142
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10291148], eax
call esi
push eax
call fcn.10004142
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1029114c], eax
call esi
push eax
call fcn.10004142
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10291150], eax
call esi
push eax
call fcn.10004142
pop ecx
mov dword [0x10291158], eax
test eax, eax
je 0x1000a394
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10004142
pop ecx
mov dword [0x10291154], eax
mov eax, dword [0x10291154]
cmp eax, ebx
je 0x1000a3ec
cmp dword [0x10291158], ebx
je 0x1000a3ec
push eax
call fcn.100041bd
push dword [0x10291158]
mov esi, eax
call fcn.100041bd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000a3ec
test edi, edi
je 0x1000a3ec
call esi
test eax, eax
je 0x1000a3e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000a3e3
test byte [ebp - 0xc], 1
jne 0x1000a3ec
or dword [ebp + 0x10], 0x200000
jmp 0x1000a425
mov eax, dword [0x1029114c]
cmp eax, ebx
je 0x1000a425
push eax
call fcn.100041bd
pop ecx
test eax, eax
je 0x1000a425
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000a425
mov eax, dword [0x10291150]
cmp eax, ebx
je 0x1000a425
push eax
call fcn.100041bd
pop ecx
test eax, eax
je 0x1000a425
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10291148]
call fcn.100041bd
pop ecx
test eax, eax
je 0x1000a445
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000a447
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
call fcn.00401fa0
pop ecx
test eax, eax
pop ecx
je 0x401f8b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x80
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str.Driver
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x401f9c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.AcroPS32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x401ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401f9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitDrv16
push eax
call esi
push str.DeviceCapabilitiesEx16
mov ebx, eax
push dword [ebp - 8]
call esi
push str.TerminateDrv16
mov dword [ebp - 4], eax
push dword [ebp - 8]
call esi
cmp ebx, edi
mov dword [ebp - 0x14], eax
je 0x401f93
cmp dword [ebp - 4], edi
je 0x401f93
cmp eax, edi
je 0x401f93
lea eax, [ebp - 0x9c]
push eax
call ebx
test eax, eax
je 0x401f82
push edi
push 0x244
push 2
pop ebx
push ebx
push edi
push dword [ebp + 8]
call dword [ebp - 4]
mov esi, dword [ebp + 0xc]
cmp eax, edi
jle 0x401f37
mov dword [esi], eax
push edi
push 0x33
push ebx
push edi
push dword [ebp + 8]
call dword [ebp - 4]
cmp eax, edi
mov dword [esi + 4], eax
je 0x401f62
cmp eax, 1
je 0x401f62
cmp eax, ebx
je 0x401f62
cmp eax, 3
jne 0x401f5f
mov word [esi + 8], 1
jmp 0x401f66
mov dword [esi + 4], edi
mov word [esi + 8], di
push edi
push 0x29
push ebx
push edi
push dword [ebp + 8]
call dword [ebp - 4]
cmp eax, edi
jle 0x401f78
mov dword [esi + 0xc], eax
call dword [ebp - 0x14]
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x401f8e
Function at 0x401fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push ebx
push esi
lea eax, [ebp - 0x11c]
push edi
push eax
mov dword [ebp - 0x11c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401fd3
xor eax, eax
cmp dword [ebp - 0x10c], 1
sete al
test eax, eax
je 0x4020a2
lea eax, [ebp - 0x88]
push str.SystemCurrentControlSetcontrolPrintPrinters_
push eax
call fcn.00529920
pop ecx
lea eax, [ebp - 0x88]
pop ecx
push dword [ebp + 8]
push eax
call fcn.00529930
pop ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ecx
mov ebx, 0x20019
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
mov edi, reloc.AGM.dll_Ordinal_2
push ebx
push 0
push eax
push edi
call esi
test eax, eax
jne 0x40209e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push 0
push str.Printer_Driver
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp + 0xc]
push dword [eax]
je 0x40205c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40209e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x88]
push str.SystemCurrentControlSetcontrolPrintEnvironmentsWindows_4.0Drivers_
push eax
call fcn.00529920
pop ecx
lea eax, [ebp - 0x19c]
pop ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00529930
pop ecx
lea eax, [ebp - 0x88]
pop ecx
push dword [ebp + 0xc]
push ebx
push 0
push eax
push edi
call esi
test eax, eax
je 0x4020a2
xor eax, eax
jmp 0x4020a5
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4024d1
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x56d414
call fcn.00529900
sub esp, 0x154
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.0054c354
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054c354
cmp dword [esi + 0x1c], 0
push 1
pop edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], edi
je 0x402528
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054c49f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054c49f
mov eax, edi
jmp 0x402612
mov dword [esi + 0x1c], edi
push ebx
lea edi, [esi + 0x10]
push str.Rdlang32.
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0054c6f4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0054c598
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0054c49f
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4025e3
cmp dword [ebp - 0x1c], 0
je 0x4025e3
push 0x59320c
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0054c6f4
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0054c6f4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0054c598
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0054c49f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0054c49f
lea ecx, [ebp - 0x10]
call fcn.0054c978
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040246b
lea eax, [ebp - 0x160]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1c], eax
jmp 0x40256e
mov eax, dword [esi + 0x18]
xor ecx, ecx
push ebx
cmp dword [eax + 0xc], ecx
setne cl
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054c49f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054c49f
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x40295c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x56d4c8
call fcn.00529900
push ecx
push ecx
push esi
lea eax, [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp + 8]
push 0xf003f
push 0
mov esi, 0x104
push dword [eax]
mov dword [ebp - 0x10], esi
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4029d1
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0054c88f
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov esi, eax
call fcn.0054c8de
push dword [ebp + 8]
test esi, esi
je 0x4029e1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0054c49f
xor eax, eax
jmp 0x4029f6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0054c49f
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x402a03
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp + 8]
mov edi, 0xf003f
and dword [ebp - 8], 0
push eax
push edi
push 0
push dword [ebx]
mov esi, Ordinal_3
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ecx, ecx
cmp eax, ecx
je 0x402a51
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push ecx
push edi
push ecx
push dword [ebp + 0x10]
push ecx
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402a59
xor eax, eax
jmp 0x402a8a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x402a87
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40334e
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x5b2a54], edi
jne 0x403367
push 0x30
call fcn.004868bd
pop ecx
mov dword [0x5b2a54], eax
push str.imm32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x5b2a54]
mov dword [ecx], eax
mov eax, dword [0x5b2a54]
mov ecx, dword [eax]
cmp ecx, edi
je 0x40348e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmSetCompositionFontA
push ecx
call esi
mov ecx, dword [0x5b2a54]
push str.ImmGetContext
mov dword [ecx + 0xc], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmReleaseContext
mov dword [ecx + 0x10], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmSetCompositionWindow
mov dword [ecx + 0x14], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmSetOpenStatus
mov dword [ecx + 0x18], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmCreateContext
mov dword [ecx + 0x1c], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmDestroyContext
mov dword [ecx + 0x20], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmAssociateContext
mov dword [ecx + 0x24], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
push str.ImmNotifyIME
mov dword [ecx + 0x28], eax
mov eax, dword [0x5b2a54]
push dword [eax]
call esi
mov ecx, dword [0x5b2a54]
mov dword [ecx + 0x2c], eax
call fcn.004034e6
mov ecx, dword [0x5b2a54]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 8], eax
mov ecx, dword [0x5b2a54]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
cmp eax, edi
je 0x403484
push edx
call eax
mov ecx, dword [0x5b2a54]
jmp 0x403486
xor eax, eax
push 1
mov dword [ecx + 4], eax
pop eax
jmp 0x4034e3
mov dword [eax + 0xc], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x10], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x14], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x18], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x1c], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x20], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x24], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x28], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 0x2c], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 4], edi
mov eax, dword [0x5b2a54]
mov dword [eax + 8], edi
xor eax, eax
pop edi
pop esi
ret
Function at 0x4076ce
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x100
jne 0x407839
call fcn.00439174
test eax, eax
mov dword [ebp - 8], eax
je 0x407839
mov al, byte [edi + 8]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov byte [ebp + 0xb], al
call esi
mov bx, ax
push 0x10
shr ebx, 0xd
and ebx, 4
call esi
shr eax, 0xf
and eax, 1
push 0x11
or ebx, eax
call esi
shr eax, 0xc
and eax, 8
or ebx, eax
cmp byte [ebp + 0xb], 0x60
jl 0x407739
cmp byte [ebp + 0xb], 0x69
jg 0x407739
add byte [ebp + 0xb], 0xd0
jmp 0x407771
push 0x90
call esi
test al, 1
je 0x407771
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 1
jne 0x407771
test bl, 8
je 0x407771
xor eax, eax
mov cl, byte [ebp + 0xb]
cmp cl, byte [eax + str._____f__]
je 0x407769
inc eax
cmp eax, 0xa
jb 0x407756
jmp 0x407771
add al, 0x30
or ebx, 1
mov byte [ebp + 0xb], al
movsx esi, byte [ebp + 0xb]
push esi
call fcn.00416dd0
test ax, ax
pop ecx
je 0x4077b6
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5b3058]
mov ecx, dword [eax + 0x1cc]
call fcn.0040c59c
push dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
test eax, eax
je 0x4077b6
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
cmp al, 0xff
je 0x4077b6
mov byte [ebp + 0xb], al
call fcn.00438ab7
push dword [edi]
mov dword [ebp - 4], eax
call fcn.0042de61
test eax, eax
pop ecx
je 0x4077d2
push eax
call fcn.00441757
jmp 0x4077d9
push dword [edi]
call fcn.0042d21b
mov esi, eax
pop ecx
test esi, esi
je 0x40780d
mov edi, 0x3e8
push edi
push esi
call fcn.0043df02
pop ecx
test eax, eax
pop ecx
jne 0x407801
push esi
call fcn.0044ac48
mov esi, eax
pop ecx
test esi, esi
jne 0x4077e5
jmp 0x40780d
push edi
push esi
call fcn.0043df02
pop ecx
mov dword [ebp - 4], eax
pop ecx
call fcn.00438ab7
cmp dword [ebp - 4], eax
jne 0x407839
movzx ax, byte [ebp + 0xb]
push ebx
push eax
push dword [ebp - 8]
call fcn.0044b251
add esp, 0xc
test eax, eax
je 0x407839
push eax
call fcn.0044af02
pop ecx
push 1
pop eax
jmp 0x40783b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x407cf8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
movzx edi, word [ebp + 8]
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push 6
push eax
push 0x1004
push edi
call esi
test eax, eax
je 0x407e3f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push 0x5937d0
push eax
call fcn.0052a510
add esp, 0xc
push dword [ebp - 4]
call fcn.0048af3d
test ax, ax
pop ecx
je 0x407e3f
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x407e11
push ebx
push ebx
push 4
push edi
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x407e3f
inc eax
push eax
call fcn.004868bd
pop ecx
mov dword [ebp - 8], eax
push dword [ebp + 8]
push eax
push 4
push edi
call esi
mov dword [ebp + 8], eax
push 6
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0052a930
add esp, 0xc
lea eax, [ebp - 0x14]
push 6
push eax
push 0x1004
push edi
call esi
test eax, eax
je 0x407dc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push 0x5937d0
push eax
call fcn.0052a510
add esp, 0xc
jmp 0x407dcd
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 4], eax
push ebx
push ebx
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call edi
mov dword [ebp - 0xc], eax
lea eax, [eax + eax + 2]
push eax
call fcn.004868bd
pop ecx
mov esi, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov dword [esi], eax
push eax
push dword [ebp + 8]
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 8]
mov edi, eax
call fcn.00486983
pop ecx
jmp 0x407e30
lea eax, [eax + eax + 2]
push eax
call fcn.004868bd
mov esi, dword [ebp + 0xc]
pop ecx
push dword [ebp + 8]
mov dword [esi], eax
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
mov eax, dword [esi]
mov byte [eax + edi*2], bl
mov eax, dword [esi]
mov byte [eax + edi*2 + 1], bl
mov eax, edi
jmp 0x407e41
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret