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

Disassembly:
call fcn.00402e5b
push eax
push edi
push dword [ebp - 0x30]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4023a7
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x40247d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401489.65
mov eax, dword [ebp - 4]
add dword [0x42ebe8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42ec10]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402aca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a36
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d2e
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x42ec10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42ec10], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac7
jmp 0x402aca

Function at 0x4034f5
Capabilities:
Write file on windows

Disassembly:
call fcn.00406983
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4025a6

Function at 0x403a36
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42ec10]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x403aca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x403a87
cmp dword [ebp + 0x10], ebx
jne 0x403abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00403a36
test eax, eax
jne 0x403a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x403a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call 0x406d2e
cmp eax, ebx
je 0x403ad1
push ebx
push dword [0x42ec10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x403aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42ec10], ebx
jne 0x403ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x403ac7
jmp 0x403aca
Function at 0x405712
Capabilities:
Capture webcam image

Disassembly:
push 0x408
mov dword [ebp - 8], eax
push dword [ebp + 8]
call esi
mov ebx, dword [0x42eb88]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
mov eax, dword [0x42eb70]
add eax, 0x94
xor edi, edi
cmp dword [ebp + 0xc], 0x110
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], eax
jne 0x40596f
mov eax, dword [ebp + 8]
push 2
Function at 0x405a22
Capabilities:
Capture webcam image

Disassembly:
inc ecx
mov dword [ebp + 0xc], 0x40f
add byte [eax], al
shr eax, 8
and eax, ecx
ror dword [ecx + 0x4589104d], 0x14

Function at 0x405daa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc
Function at 0x1401c40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.01405910
mov eax, dword [0x1438030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x1108]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov ebx, eax
mov dword [ebp - 0x110c], 2
xor esi, esi
test ebx, ebx
je 0x1401ce2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
lea eax, [ebp - 0x110c]
push eax
push 0
push dword [ebp + esi*4 - 0x1108]
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test eax, eax
je 0x1401cb7
push esi
lea eax, [ebp - 0x104]
push str.__d__The_low_fragmentation_heap_has_been_enabled._n
push eax
call fcn.0140645a
add esp, 0xc
jmp 0x1401cd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x104]
push str.__d__Failed_to_enable_the_low_fragmentation_heap_with_LastError__d_n
push eax
call fcn.0140645a
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call edi
inc esi
cmp esi, ebx
jb 0x1401c84
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.014058fc
mov esp, ebp
pop ebp
ret
Function at 0x14024c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ecx, 0x44
mov dword [ebp - 4], 0
mov dl, 0x57
push edi
mov edi, dword [ebp + 8]
cmp esi, ecx
jle 0x14024f1
nop
xor byte [ecx + edi], dl
lea eax, [ecx + edi]
mov al, byte [eax]
inc ecx
add al, 0x57
add dl, al
cmp ecx, esi
jl 0x14024e0
xor ebx, ebx
cmp dword [edi + 0x48], ebx
jl 0x1402544
lea esi, [edi + 0x64]
jmp 0x1402500
cmp dword [esi + 8], 0
je 0x140250c
mov eax, dword [esi - 8]
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [esi - 4]
cmp eax, ecx
jle 0x1402528
sub eax, ecx
push eax
mov eax, dword [esi - 8]
add eax, ecx
push 0
push eax
call fcn.01405f90
add esp, 0xc
push dword [esi]
mov eax, dword [esi + 4]
add eax, edi
push eax
push dword [esi - 8]
call fcn.01405940
inc ebx
add esp, 0xc
add esi, 0x14
cmp ebx, dword [edi + 0x48]
jle 0x1402500
mov ecx, dword [edi + 0x58]
xor ecx, 0x872c3d47
add ecx, 0xc
mov dword [ebp + 8], ecx
cmp dword [ecx], 0
je 0x14025ce
jmp 0x1402560
mov eax, dword [edi + 0x50]
xor eax, 0x49c042d1
add eax, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov esi, dword [edi + 0x50]
xor esi, 0x49c042d1
add esi, dword [ecx + 4]
cmp dword [esi], 0
je 0x14025c3
jmp 0x1402590
mov eax, dword [esi]
mov ecx, eax
and ecx, 0x7fffffff
test eax, eax
jns 0x14025a1
push ecx
jmp 0x14025af
mov eax, dword [edi + 0x50]
xor eax, 0x49c042d1
add eax, 2
add eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x1402590
mov ecx, dword [ebp + 8]
add ecx, 0x14
mov dword [ebp + 8], ecx
cmp dword [ecx], 0
jne 0x1402560
mov ecx, dword [edi + 0x54]
push 0
push 1
push 0
sub ecx, 0xc
call ecx
mov ecx, dword [edi + 0x4c]
push dword [ebp + 0x10]
xor ecx, 0x7a32bc85
call ecx
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x14027e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x14027f5
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14027ec
cmp dword [ebp - 0xc], 4
mov eax, dword [ebp - 8]
cmovne eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x1402830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [0x353a0c8], 0
cmp byte [ecx + 4], 0
mov dword [ebp - 4], 0x200
jne 0x1402853
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 0x353a0c8
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140284a
cmp dword [ebp - 8], 1
mov eax, 0x353a0c8
cmovne eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x14036b0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x142e6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1438030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x1403709
push 0x1435b40
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
call fcn.01406c49
lea eax, [ebp - 0x18]
push eax
push 0x142f834
push 1
push 0
push 0x142f824
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140373a
push 0x1435b40
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 2
push eax
call fcn.01406c49
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1403760
push 0x1435b40
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 3
push eax
call fcn.01406c49
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1403792
push 0x1435b40
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 4
push eax
call fcn.01406c49
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, 0x140378f
ret
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x14037a6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x14037b3
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1422644
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1438030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.0140819c
mov dword [ebp - 0x14], eax
cmp dword [0x353b174], esi
jne 0x1422737
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x14226c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1422817
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1422817
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1422817
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x353b174], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x353b178], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x353b17c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x353b184], eax
test eax, eax
je 0x1422734
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x353b180], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x142275c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x142274f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1422771
push 4
pop eax
jmp 0x1422819
cmp dword [ebp - 0x14], esi
je 0x1422771
push dword [0x353b174]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1422756
mov eax, dword [0x353b180]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x14227cf
cmp dword [0x353b184], edi
je 0x14227cf
push eax
call ebx
push dword [0x353b184]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x14227cf
test eax, eax
je 0x14227cf
call ecx
test eax, eax
je 0x14227c4
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 0x14227c4
test byte [ebp - 8], 1
jne 0x14227cf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x14227ff
mov eax, dword [0x353b178]
cmp eax, edi
je 0x14227fc
push eax
call ebx
test eax, eax
je 0x14227fc
call eax
mov esi, eax
test esi, esi
je 0x14227fc
mov eax, dword [0x353b17c]
cmp eax, edi
je 0x14227fc
push eax
call ebx
test eax, eax
je 0x14227fc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x353b174]
call ebx
test eax, eax
je 0x1422817
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1422819
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.014058fc
mov esp, ebp
pop ebp
ret
Function at 0x411c42
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x4a1324]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.0042f8c4
mov esi, eax
test esi, esi
je 0x411dd7
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x411cec
push ebx
call fcn.00411fb2
jmp 0x411c84
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x411c7c
push dword [esi + 0x14]
call fcn.004120ed
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.00411bcd
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x411df1
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x411cc9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x411cda
push dword [esp + 0x20]
push ebx
call fcn.00411b9a
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x411d8c
test byte [esp + 0x1c], 1
je 0x411cfb
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x411d96
push esi
call fcn.00411a91
lea eax, [esi + 4]
push 0x10
push eax
call fcn.0043005b
pop ecx
pop ecx
mov ecx, dword [0x4a137c]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x411dd7
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x411d77
push edi
push dword [esp + 0x24]
push ebx
call fcn.00411afa
jmp 0x411d84
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x411dd7
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x411db8
push dword [esp + 0x20]
push ebx
call fcn.00411b9a
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x411dd7
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x415d44
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x415d99
push dword [esp + 0x10]
push 0x415cc3
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x4a1348]
test esi, esi
je 0x415df2
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x415d91
cmp byte [esi + 0x10], 0
je 0x415d91
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x415d6d
jmp 0x415df2
mov esi, dword [0x4a1348]
test esi, esi
je 0x415df2
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x415deb
cmp byte [esi + 0x11], 0
je 0x415dc7
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x415dde
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x4a1348
call fcn.0042ffff
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x415da6
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x417262
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
jle 0x417280
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call sub.MSVCRT.dll_memmove
add esp, 0xc
push 0
lea eax, [ebp + 8]
push eax
mov eax, 0x1000
sub eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4172ac
mov dword [esi + 0x10], 1
mov eax, dword [esi + 4]
add dword [esi + 0xc], ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret

Function at 0x41a67b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, eax
jle 0x41a6ed
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x41a6a4
mov ebx, eax
push dword [ebp]
call fcn.00419e47
push ebx
push dword [ebp]
mov edi, eax
call fcn.00419e1e
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.DLL_EnableWindow]
push esi
push dword [ebp]
call fcn.0041a70d
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41ceeb
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x4a24b4]
call fcn.0042f85b
xor ebp, ebp
mov esi, eax
cmp dword [0x4a1ac8], ebp
jne 0x41cfc7
xor ebx, ebx
inc ebx
mov dword [0x4a1ac8], ebx
call fcn.00421ba8
mov edi, 0xa4
push edi
push ebp
push 0x4a1ad0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4a1ad0], 0x13
lea eax, [esp + 0x10]
mov dword [0x4a1ad4], edi
mov dword [0x4a1ae0], 0x41ce36
mov dword [0x4a1ae4], 0x41d161
push eax
mov dword [0x4a1b38], 0x41ce11
mov dword [0x4a1b3c], 0x41d0ac
mov dword [0x4a1adc], 0x41cdec
mov dword [0x4a1b60], 0x41ce51
mov dword [0x4a1b74], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41cfc7
cmp dword [esp + 0x20], ebx
je 0x41cfaf
cmp dword [esp + 0x20], 2
jne 0x41cfc7
cmp dword [esp + 0x14], 5
jae 0x41cfb7
mov dword [0x4a1b74], ebp
jmp 0x41cfc7
jne 0x41cfc7
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x4a1b74], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00426751
mov eax, dword [esp + 0x140]
push ebp
push dword [0x4a1048]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x41d09d
push dword [esp + 0x128]
push dword [0x4a24d0]
call fcn.0042f8ec
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x41d06c
push edi
call fcn.0042afc4
test eax, eax
je 0x41d06c
push ebp
push ebp
push edi
call fcn.0042ab39
mov dword [esi + 0x18], eax
jmp 0x41d06f
mov dword [esi + 0x18], ebp
push 0x41cb3b
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x4a1ad0
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x4a1acc], eax
call fcn.00421d6c
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x4210a5
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x4a24d0]
call fcn.0042f8c4
mov ebx, eax
test ebx, ebx
je 0x421109
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4210ce
push dword [esp + 0xc]
push ebx
call eax
jmp 0x421109
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00430320
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00430410
pop edi
pop esi
pop ebx
ret 8
Function at 0x424069
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov ebx, eax
test ebx, ebx
je 0x4240e3
push 9
call esi
test al, al
jns 0x4240e3
push 0x11
call esi
test al, al
js 0x4240e3
push 0x10
call esi
test al, al
js 0x4240e3
push 0x12
call esi
test al, al
js 0x4240e3
push 5
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [ebp - 0x10]
push str.Rich
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x4240e3
push eax
push eax
push 0x44e
push ebx
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x4240e3
xor eax, eax
jmp 0x424164
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42410b
push 0x11
call esi
test al, al
js 0x424103
push 0x10
call esi
test al, al
js 0x424103
push 0x12
call esi
test al, al
jns 0x42410b
push 1
push edi
call fcn.0042416c
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test ebx, ebx
je 0x424121
push str.PB_Hotkey
push ebx
call esi
test eax, eax
jne 0x424161
push str.PB_WindowID
push edi
call esi
mov esi, eax
test esi, esi
je 0x424161
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x424161
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x424161
lea eax, [esi - 1]
push eax
push dword [0x4a24e0]
call fcn.0042f8c4
test eax, eax
je 0x424161
mov eax, dword [eax + 8]
jmp 0x424163
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4