joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b130
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x450278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043aa60
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::LPtoDP
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call sub.MFC42.DLL_CWnd::SetScrollRange
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call sub.MFC42.DLL_CWnd::SetScrollRange
push 1
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollPos
push 1
push 0
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollPos
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044c1f2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x43b2b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x450298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CClientDC::CClientDC
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043aa60
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x50]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call sub.MFC42.DLL_CDC::LPtoDP
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b374
cmp dword [esp + 0x40], 1
jne 0x43b372
cmp ecx, eax
jge 0x43b374
mov eax, ecx
cmp eax, 0xc8
jge 0x43b380
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd4], eax
call fcn.0043b130
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044c1f2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43bbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044c4f2
lea edi, [esi + 0x68]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x457ac8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x40], eax
mov eax, ebp
mov dword [esi], 0x457a08
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], 0
mov ecx, dword [eax]
lea edx, [esi + 0x4c]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call sub.MFC42.DLL_CEdit::Create
test eax, eax
je 0x43bcdc
mov ecx, dword [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Detach
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x5c], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43bca0
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call fcn.0043beb0
cmp dword [esp + 0x38], 1
jne 0x43bcd5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43df70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43dfa3
push esi
call fcn.004410c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43df9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e029
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e012
mov eax, dword [esi + 8]
test eax, eax
je 0x43dfc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e00e
cmp eax, 2
je 0x43e012
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43dfba
cmp eax, 3
je 0x43dfed
cmp eax, 1
jne 0x43dfba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43dfba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43dfba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e050
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e038
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e050
add esp, 4
pop esi
ret

Function at 0x440210
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.004415f0
push 0x50
push edi
mov dword [esp + 0x18], eax
call fcn.004415b0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x440246
push edi
call fcn.00439510
mov eax, dword [edi]
push edi
call dword [eax]
add esp, 8
mov dword [esi], fcn.00440340
mov dword [esi + 4], fcn.00440470
mov dword [esi + 8], fcn.00440500
mov dword [esi + 0xc], fcn.004405a0
mov dword [esi + 0x10], 0x440650
mov dword [esi + 0x14], 0x4406b0
mov dword [esi + 0x18], 0x440710
mov dword [esi + 0x1c], 0x4408a0
mov dword [esi + 0x20], 0x440a70
mov dword [esi + 0x24], fcn.00440c50
mov dword [esi + 0x28], 0x440d40
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
lea eax, [esi + 0x3c]
mov ecx, 2
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x4402a1
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x50
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x440333
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
push ecx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x440333
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x4402fc
cmp al, 0x4d
jne 0x440320
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esi + 0x2c], edx
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esi + 0x2c], edx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x449c20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xf0], 1
jne 0x449cc4
test eax, eax
jbe 0x449cc4
mov ecx, dword [esi + 0xc0]
test ecx, ecx
jle 0x449cc4
mov ecx, dword [esi + 0x20]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xc0]
inc edi
test eax, eax
jne 0x449c6e
xor esi, esi
jmp 0x449c74
mov esi, dword [esi + 0xb8]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x449c9f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044bba0
add esi, eax
push esi
mov ebx, esi
call fcn.0044bba0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449c80
pop ebp
test edi, edi
pop edi
jne 0x449cc4
test ebx, ebx
je 0x449cc4
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x449e25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x449f3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x449f3d
mov eax, dword [esi + 0x40]
push eax
call sub.MFC42.DLL_CWnd::FromHandlePermanent
mov esi, eax
test esi, esi
je 0x449f3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x449f3d
mov ecx, esi
call fcn.00449db0
cmp edi, eax
jge 0x449f3d
mov eax, dword [esi + 0xc8]
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x449ec3
mov dword [esp + 0x34], 1
jmp 0x449f1e
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x449f3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449350
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4

Function at 0x408981
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
or edi, eax
sub edi, edi
call fcn.004089a6
inc eax
mov eax, eax
xor dword [ecx], ebx
add ecx, 1
cmp ecx, esi
jne fcn.00408981
mov eax, edi
and edi, eax
ret
Function at 0x401460
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40156a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401563
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401563
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40155c
lea ecx, [esp + 0x10]
push 0
push ecx
push ebx
push eax
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401555
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x401555
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401555
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0x670588
push 0
push ebx
push eax
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jl 0x40156a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40156a
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x404690
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x642a8b
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 0x114]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ebp, ebp
cmp eax, ebp
jne 0x4046dd
lea ecx, [esp + 0x124]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.0049a060
mov eax, dword [esp + 0x10]
mov dword [esp + 0x230], ebp
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x404709
add eax, 0xc
jmp 0x40470e
mov eax, 0x730500
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, ebp
jne 0x40473d
mov ebx, dword [esp + 0x238]
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.004911b0
jmp 0x40475f
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x238]
lea edx, [esp + 0x124]
push ecx
push edx
push str._s_s
push ebx
call fcn.00491cb0
add esp, 0x10
mov edi, 0x6d349c
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push ebp
push eax
mov ecx, ebx
call fcn.00491f80
cmp eax, ebp
jle 0x404790
push ebp
push eax
mov ecx, ebx
call fcn.004921c0
mov eax, dword [ebx]
cmp eax, ebp
lea edi, [eax + 0xc]
jne 0x40479e
mov edi, 0x730500
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x6d3494
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00491140
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00490f90
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x404830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x642abf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6d6700]
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x30]
mov edi, 1
mov dword [esp + 0x24], edi
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x40497a
push ebx
mov ebx, 2
mov edx, dword [ebp]
cmp byte [edx + esi], 0x25
je 0x4048a7
mov eax, esi
inc esi
inc edi
lea ecx, [esp + 0x10]
mov dl, byte [edx + eax]
inc ebx
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
call fcn.00618c13
jmp 0x40496f
xor al, al
xor cl, cl
cmp edi, dword [esp + 0x14]
jge 0x4048b5
mov al, byte [edx + esi + 1]
cmp ebx, dword [esp + 0x14]
jge 0x4048bf
mov cl, byte [edx + esi + 2]
cmp al, 0x61
jl 0x4048c9
cmp al, 0x7a
jg 0x4048c9
add al, 0xe0
cmp cl, 0x61
jl 0x4048d6
cmp cl, 0x7a
jg 0x4048d6
add cl, 0xe0
cmp al, 0x30
jl 0x4048de
cmp al, 0x39
jle 0x4048e6
cmp al, 0x41
jl 0x404961
cmp al, 0x5a
jg 0x404961
cmp al, 0x30
jl 0x4048f2
cmp al, 0x39
jg 0x4048f2
sub al, 0x30
jmp 0x4048f4
sub al, 0x37
cmp cl, 0x30
mov byte [esp + 0x34], al
jl 0x404902
cmp cl, 0x39
jle 0x40490c
cmp cl, 0x41
jl 0x404948
cmp cl, 0x5a
jg 0x404948
shl al, 4
cmp cl, 0x30
mov dl, al
jl 0x404923
cmp cl, 0x39
jg 0x404923
movsx eax, cl
sub eax, 0x30
jmp 0x404929
movsx eax, cl
sub eax, 0x37
add dl, al
mov byte [esp + 0x34], dl
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00618c13
add esi, 3
add edi, 3
add ebx, 3
jmp 0x40496f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.00618c13
add esi, 2
add edi, 2
add ebx, 2
jmp 0x40496f
push 0x25
lea ecx, [esp + 0x14]
call fcn.00618c13
inc esi
inc edi
inc ebx
cmp esi, dword [esp + 0x14]
jl 0x40487f
pop ebx
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00618585
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.00618810
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40c580
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, ecx
push eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.0040b200
mov ecx, dword [ebx + 0x98]
mov eax, dword [eax]
test ecx, ecx
mov dword [esp + 0xc], eax
jne 0x40c5b9
push eax
mov ecx, ebx
call fcn.0040b2a0
test eax, eax
jne 0x40c6ce
mov eax, dword [0x730758]
push esi
mov esi, dword [sym.imp.USER32.dll_SetCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, 4
jne 0x40c5f3
mov dword [0x730758], 3
call fcn.00632d98
call fcn.00632d98
mov eax, dword [eax + 0xc]
push 0x84
push eax
call edi
push eax
call esi
mov eax, dword [0x730770]
cmp eax, 3
jne 0x40c655
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x40c642
mov dword [0x730758], 2
call fcn.00632d98
call fcn.00632d98
mov eax, dword [eax + 0xc]
push 0x87
push eax
call edi
push eax
call esi
mov eax, dword [0x730758]
cmp eax, 1
jne 0x40c694
mov ecx, ebx
call fcn.00408960
jmp 0x40c6a0
mov ecx, ebx
mov dword [0x730758], 1
call fcn.00408960
jmp 0x40c6a0
cmp eax, 4
jne 0x40c62f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je 0x40c688
mov dword [0x730758], 1
call fcn.00632d98
call fcn.00632d98
mov eax, dword [eax + 0xc]
push 0x86
jmp 0x40c629
mov dword [0x730758], 2
jmp 0x40c699
cmp eax, 2
jne 0x40c6a0
mov ecx, ebx
call fcn.004089b0
mov eax, dword [esp + 0x14]
xor ecx, ecx
pop edi
cmp eax, ecx
mov dword [ebx + 0x98], ecx
pop esi
je 0x40c6c8
push eax
mov ecx, ebx
mov dword [ebx + 0x94], 1
call fcn.0040b0a0
pop ebx
ret 0xc
mov dword [ebx + 0x94], ecx
pop ebx
ret 0xc

Function at 0x40e930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6433db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 0x14]
mov dword [esi], 0x6614f8
mov ecx, ebx
call fcn.00613663
mov dword [ebx], method.CPtrArray.virtual_0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edi, edi
push 0xffffffffffffffff
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x10], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x30], edi
mov dword [esi], 0x66143c
mov dword [esi + 4], eax
call fcn.006136c3
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov edx, dword [0x730758]
push esi
mov dword [esi + 0x40], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
call fcn.0054d600
mov ecx, eax
call fcn.0054d6c0
mov eax, edi
mov ecx, edi
mov dword [esi + 0x48], eax
mov edx, edi
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x50], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8