joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x80
sub esp, 0x20
fld dword [eax + 0xc]
fstp qword [esp + 0x18]
fld dword [eax + 8]
fstp qword [esp + 0x10]
fld dword [eax + 4]
fstp qword [esp + 8]
fld dword [eax]
lea eax, [ebp - 0x80]
fstp qword [esp]
push str.__f__f__f__f_
push eax
call fcn.004431ce
lea ecx, [ebp - 0x80]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4301a0
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4301d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
fld dword [ebp + 0x10]
lea eax, [ebp - 0x80]
sub esp, 0x80
sub esp, 8
fstp qword [esp]
push 0x45a258
push eax
call fcn.004431ce
lea ecx, [ebp - 0x80]
add esp, 0x10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430200
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret

Function at 0x430230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x80
sub esp, 0x18
fld dword [eax]
fld dword [eax + 4]
fld dword [eax + 8]
lea eax, [ebp - 0x80]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push str.__f__f__f_
push eax
call fcn.004431ce
lea ecx, [ebp - 0x80]
add esp, 0x20
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430270
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4302e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x80
sub esp, 0x18
fld dword [eax + 8]
fstp qword [esp + 0x10]
fld dword [eax + 4]
fstp qword [esp + 8]
fld dword [eax]
lea eax, [ebp - 0x80]
fstp qword [esp]
push str.__f__f__f_
push eax
call fcn.004431ce
lea ecx, [ebp - 0x80]
add esp, 0x20
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430320
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret
Function at 0x430350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
lea eax, [ebp - 0x40c]
push 0x63ab50
push str.SoftwareValve_s
push eax
call fcn.004431ce
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x40c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4303a3
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [0x63ac10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.renderxpos
push dword [ebp - 8]
call esi
mov eax, dword [0x63ac14]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.renderypos
push dword [ebp - 8]
call esi
mov eax, dword [0x63ac18]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.renderwidth
push dword [ebp - 8]
call esi
mov eax, dword [0x63ac1c]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.renderheight
push dword [ebp - 8]
call esi
xor eax, eax
cmp byte [0x63ac62], al
push 4
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.faceposerToolsDriveMouth
push dword [ebp - 8]
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
mov eax, dword [ecx + 4]
je 0x435985
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
ret 4
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x437b70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov ebx, ecx
push dword [ebp + 0x18]
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004355b0
mov dword [ebx], vtable.mxRadioButton.0
test esi, esi
je 0x437c58
push edi
mov ecx, esi
mov edi, 0x50000009
call fcn.00435710
cmp byte [ebp + 0x24], 0
mov esi, eax
push 0
mov eax, 0x50020009
push 0
cmovne edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [ebp + 0x20]
push eax
push ebx
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push dword [ebp + 0x1c]
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 1
push 0xc
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x30
push esi
call edi
push dword [ebp - 4]
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.004358c0
push 0xd
mov ecx, esi
call fcn.00435950
push dword [ebp + 8]
mov ecx, esi
call fcn.00435940
push ebx
mov ecx, esi
call fcn.004358d0
xor eax, eax
mov ecx, esi
cmp byte [ebp + 0x24], al
push 0
setne al
push eax
push 0xf1
call fcn.00435710
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x438570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x438585
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0x18
jne 0x43857e
push edi
push 0x4594a4
push dword [ebp + 8]
call fcn.00442a3a
mov edi, eax
add esp, 8
test edi, edi
jne 0x4385aa
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
call fcn.00443ea7
push edi
push 0
call fcn.00443ea7
push edi
push 2
call fcn.00443ea7
push edi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.0044386b
push edi
push 1
lea eax, [ebp - 4]
push 2
push eax
call fcn.0044386b
push edi
push 0
call fcn.00443ea7
add esp, 0x40
lea eax, [ebp - 4]
push edi
push 1
push 2
push eax
call fcn.0044386b
push edi
push 1
lea eax, [ebp - 4]
push 2
push eax
call fcn.0044386b
movzx eax, word [ebx + 4]
push edi
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 2
push eax
call fcn.0044386b
movzx eax, word [ebx + 8]
push edi
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 2
push eax
call fcn.0044386b
add esp, 0x40
push edi
push 0x18
call fcn.00443ea7
push edi
push 0
call fcn.00443ea7
mov eax, dword [ebx + 8]
xor edx, edx
mov esi, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test eax, eax
jle 0x4386bb
mov ecx, dword [ebx + 4]
sub eax, edx
xor ebx, ebx
dec eax
imul eax, ecx
lea esi, [esi + eax*2]
inc esi
test ecx, ecx
jle 0x4386aa
add esi, eax
movzx eax, byte [esi + 1]
push edi
push eax
call fcn.00443ea7
movzx eax, byte [esi]
push edi
push eax
call fcn.00443ea7
movzx eax, byte [esi - 1]
push edi
push eax
call fcn.00443ea7
mov eax, dword [ebp + 0xc]
lea esi, [esi + 3]
inc ebx
add esp, 0x18
mov ecx, dword [eax + 4]
cmp ebx, ecx
jl 0x438674
mov edx, dword [ebp - 8]
jmp 0x4386ad
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
inc edx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp edx, eax
jl 0x438662
push edi
call fcn.004428ff
add esp, 4
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451264
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4696c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0044edab
mov dword [ebp - 0x14], eax
cmp dword [0x647538], esi
jne 0x451357
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4512e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x451437
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x451437
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x451437
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x647538], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x64753c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x647540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x647548], eax
test eax, eax
je 0x451354
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x647544], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45137c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45136f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x451391
push 4
pop eax
jmp 0x451439
cmp dword [ebp - 0x14], esi
je 0x451391
push dword [0x647538]
call dword [0x469004]
push 3
jmp 0x451376
mov eax, dword [0x647544]
mov ebx, dword [0x469004]
cmp eax, edi
je 0x4513ef
cmp dword [0x647548], edi
je 0x4513ef
push eax
call ebx
push dword [0x647548]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4513ef
test eax, eax
je 0x4513ef
call ecx
test eax, eax
je 0x4513e4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4513e4
test byte [ebp - 8], 1
jne 0x4513ef
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x45141f
mov eax, dword [0x64753c]
cmp eax, edi
je 0x45141c
push eax
call ebx
test eax, eax
je 0x45141c
call eax
mov esi, eax
test esi, esi
je 0x45141c
mov eax, dword [0x647540]
cmp eax, edi
je 0x45141c
push eax
call ebx
test eax, eax
je 0x45141c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x647538]
call ebx
test eax, eax
je 0x451437
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x451439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00446b7a
mov esp, ebp
pop ebp
ret
Function at 0x40293c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40296b
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c2c
jmp 0x402989
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402864
mov edi, eax
test ebx, ebx
je 0x402989
cmp dword [esi], 0
je 0x402989
dec ebx
jmp 0x402972
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b3c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x459040], 0x8088405
inc edx
mov dword [0x459040], edx
mul edx
mov eax, edx
ret

Function at 0x402ca8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section..xvlk_1]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d40
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402d20
xor eax, eax
push ebp
push 0x402d19
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 0x402d5c
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 0x402d20
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [section..xvlk_1]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section..xvlk_1], ax
mov esp, ebp
pop ebp
ret

Function at 0x403af8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040270c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x459045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ac0
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a98
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c54
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x405af9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c70
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x405b6b
xor eax, eax
push ebp
push 0x405b64
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004058f0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x405b4d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405c90
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b6b
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405c4c
cmp byte [ebp - 0xd], 0
jne 0x405bad
cmp byte [ebp - 0x12], 0
je 0x405c4c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405bc6
dec ebx
cmp byte [ebx], 0x2e
je 0x405bd5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405bc5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405c4c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c02
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c4c
cmp byte [ebp - 0xd], 0
je 0x405c4c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c4c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408c74
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00403f88
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x408c96
call sub.KERNEL32.DLL_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x409704
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
test eax, eax
jle 0x40973d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c2c
jmp 0x409746
mov eax, ebx
mov edx, esi
call fcn.00403b98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409750
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA_1
test eax, eax
jle 0x409771
mov al, byte [esp]
jmp 0x409773
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x413be8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
jne 0x413bfd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x415c0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x415c12
ret

Function at 0x417fc4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x418015
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417ffc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x417fec
jmp 0x418015
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x417ffd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425abc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45977c], 0
sete dl
or al, dl
jne 0x425bfc
mov eax, dword [0x459780]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45977c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x425bcb
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45977c]
call fcn.0040e7b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x425bc3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x425bc3
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x425bc3
mov eax, dword [ebp - 0x14]
call fcn.0042ddcc
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x425bc3
push ebp
call fcn.00425a78
pop ecx
test al, al
jne 0x425bc3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x425b7f
mov eax, dword [ebp - 0x14]
call fcn.0042c758
dec eax
jle 0x425bc3
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403014
cmp byte [ebp - 1], 0
je 0x425bc3
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x425bc3
mov edx, dword [ebp - 0x14]
mov eax, dword [0x459780]
call fcn.004252c4
inc edi
dec esi
jne 0x425b12
mov eax, dword [0x459780]
cmp dword [eax + 8], 0
jle 0x425be3
mov eax, dword [0x459780]
call fcn.00425354
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x425bfc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004258e0
pop ecx
test al, al
jne 0x425bfc
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b764
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42b795
je 0x42b7ef
sub eax, 7
je 0x42b7b6
dec eax
je 0x42b7e0
sub eax, 0x17
je 0x42b894
jmp 0x42b8d2
add eax, 0xffffff00
sub eax, 9
jb 0x42b880
add eax, 0xffffff09
sub eax, 0xb
jb 0x42b848
jmp 0x42b8d2
mov eax, ebx
call fcn.0043d4fc
mov edi, eax
test edi, edi
je 0x42b932
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42b93b
jmp 0x42b932
test byte [ebx + 0x44], 0x20
jne 0x42b93b
jmp 0x42b932
mov edx, esi
mov eax, ebx
call fcn.00428d64
cmp dword [esi + 0xc], 0xffffffff
jne 0x42b93b
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040773c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00427898
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042b63c
test eax, eax
je 0x42b93b
mov dword [esi + 0xc], 1
jmp 0x42b93b
mov edx, esi
mov eax, ebx
call fcn.0042b6d0
test al, al
je 0x42b932
cmp dword [esi + 0xc], 0
jne 0x42b93b
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042ddcc
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x42b93b
mov eax, ebx
call fcn.00428400
test al, al
jne 0x42b93b
jmp 0x42b932
mov eax, ebx
call fcn.0042ddcc
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42b932
cmp dword [0x4577a0], 0
je 0x42b932
mov eax, dword [0x4577a0]
cmp ebx, dword [eax + 0x24]
jne 0x42b932
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4577a0]
call fcn.00428c98
jmp 0x42b932
mov eax, dword [0x459744]
cmp byte [eax + 0x20], 0
je 0x42b932
mov eax, dword [0x459744]
cmp dword [eax + 0x1c], 0
je 0x42b932
mov eax, dword [esi]
mov edx, dword [0x459744]
cmp eax, dword [edx + 0x1c]
jne 0x42b932
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043d440
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403014
jmp 0x42b93b
mov edx, esi
mov eax, ebx
call fcn.00428d64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret