joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.00419500
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.00419500
lea ecx, [esi + 0x74]
call fcn.00409db0
push 0x88
call fcn.004483fe
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x24], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.NCoderMixer2::CCoderMT.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov byte [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov ecx, dword [esi + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x74]
mov dword [eax + ecx*4], edi
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov esi, dword [ebx]
test esi, esi
je 0x418bd9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x418be6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x18], esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x418bf6
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x418c03
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], esi
mov al, byte [eax + 0x5c]
mov byte [edi + 0x68], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41ba64
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41ba64
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41ba53
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 8
jle 0x41ba78
movzx eax, ax
or eax, 0x80070000
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x41be20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x400000
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
nop dword [eax + eax]
cmp esi, 0x400000
mov dword [ebp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x41be85
test ecx, ecx
je 0x41be81
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x41be40
mov al, 1
jmp 0x41be87
xor al, al
add dword [ebx + 0x10], edx
mov ecx, dword [ebp + 0x14]
adc dword [ebx + 0x14], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x41be9a
mov dword [ecx], edx
test al, al
je 0x41bea4
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41beb7
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x41bec1
movzx eax, ax
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x41c050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41c061
mov dword [esi], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41c0c5
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], 0
test esi, esi
je 0x41c09e
add dword [esi], edx
test eax, eax
jne 0x41c0c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41c0b6
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
jle 0x41c0c7
movzx eax, ax
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4204a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456990
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4204e1
push eax
push 0
push dword [esi + 0x28]
call fcn.00449710
add esp, 0xc
push 0x10
lea eax, [esi + 0x18]
mov dword [esi + 0x10], 0
push 0
push eax
mov dword [esi + 0x14], 0
call fcn.00449710
push 0x20
lea eax, [esi + 0x30]
push 0
push eax
call fcn.00449710
push dword [esi + 0x28]
call fcn.0044824b
add esp, 0x1c
lea ecx, [esi + 4]
call fcn.00421180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423e60
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x46a008]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xec], 0
jne 0x423e96
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044823d
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x3c], 0
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x10], 0
mov edi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
je 0x423f1b
cmp dword [esi + 0xe4], ebx
jb 0x423f1b
ja 0x423ec2
cmp dword [esi + 0xe0], edi
jbe 0x423f1b
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push 0
push ebx
push edi
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.0040e560
test al, al
je 0x423f03
cmp dword [esp + 0x18], edi
jne 0x423f03
cmp dword [esp + 0x1c], ebx
jne 0x423f03
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov byte [esi + 0x3c], al
test al, al
jne 0x423f1b
jmp 0x423f07
mov byte [esi + 0x3c], 0
lea eax, [esi + 0x74]
mov ecx, esi
push eax
push str.Cannot_set_length_for_output_file
call fcn.004225b0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
mov dword [esi + 0xd8], edi
push eax
mov ecx, esi
mov dword [esi + 0xdc], ebx
mov byte [esi + 0x3b], 1
call fcn.004229e0
mov cl, byte [esp + 0x38]
mov dl, byte [esp + 0x39]
mov al, cl
mov bl, byte [esp + 0x3a]
or al, dl
or al, bl
je 0x423f7c
xor edi, edi
lea eax, [esp + 0x30]
test bl, bl
cmove eax, edi
test dl, dl
push eax
lea eax, [esp + 0x2c]
cmove eax, edi
xor edx, edx
push eax
test cl, cl
lea eax, [esp + 0x28]
cmove eax, edx
push eax
mov eax, dword [esi + 0xe8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, dword [esi + 0xe8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x423f9c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423fcc
mov dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x423fb6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044823d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x423fed
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044823d
mov esp, ebp
pop ebp
ret
jle 0x423fba
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
movzx eax, ax
xor ecx, esp
or eax, 0x80070000
call fcn.0044823d
mov esp, ebp
pop ebp
ret
Function at 0x424010
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x3a], 0
jne 0x4240b1
cmp dword [edi + 0x98], 0
je 0x4240b1
cmp byte [edi + 0x3e], 0
jne 0x4240b1
cmp byte [edi + 0x31], 0
je 0x4240b1
cmp byte [edi + 0xd0], 0
je 0x4240b1
mov ecx, dword [edi + 0xcc]
mov eax, ecx
mov edx, dword [edi + 0x94]
push ebx
push esi
mov esi, ecx
lea ebx, [edi + 0x94]
and esi, 0x3fff
and eax, 0xf0000000
cmove esi, ecx
cmp byte [0x899ce9], 0
jne 0x424096
lea ecx, [ebp - 0xc]
call fcn.0040aa30
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0044824b
add esp, 4
test esi, esi
jmp 0x4240a0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4240af
push ebx
push str.Cannot_set_file_attribute
mov ecx, edi
call fcn.004225b0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4258c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push dword [esi + 8]
add ecx, 0x98
call fcn.00425530
test eax, eax
jne 0x425948
mov ecx, dword [esi + 8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push edi
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425933
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x425933
call esi
test eax, eax
jne 0x425923
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
jle 0x425947
movzx eax, ax
pop edi
or eax, 0x80070000
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x427280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp

Function at 0x428460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457d90
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0044824b
push dword [esi + 0xc0]
call fcn.0044824b
push dword [esi + 0x9c]
call fcn.0044824b
push dword [esi + 0x90]
call fcn.0044824b
push dword [esi + 0x30]
call fcn.0044824b
push dword [esi + 0x24]
call fcn.0044824b
push dword [esi + 0x18]
call fcn.0044824b
add esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4284e0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4284f4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428508
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x42851b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4294f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457f6c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x14], 0
mov dword [edi], vtable.COpenCallbackImp.4.0
mov dword [edi + 4], vtable.COpenCallbackImp.3.0
mov dword [edi + 8], vtable.COpenCallbackImp.2.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.1.0
mov dword [edi + 0x10], vtable.COpenCallbackImp.0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
push 8
mov dword [edi + 0x48], 0
call fcn.00448381
xor ecx, ecx
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [edi + 0x54], ecx
call fcn.00448381
xor ecx, ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 3
mov word [eax], cx
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov word [esi + 0x24], cx
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 0x28], ecx
call fcn.00448381
mov dword [esi + 0x28], eax
add esp, 0xc
mov dword [esi + 0x2c], 0
xor ecx, ecx
mov dword [esi + 0x30], 3
mov word [eax], cx
mov eax, edi
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], ecx
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], 0xffffffff
mov dword [edi + 0xa8], 0xffffffff
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], str.__m_f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45849f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x48], 0
call fcn.00448381
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x54], ecx
call fcn.00448381
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov word [eax], cx
mov word [esi + 0x60], cx
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], ecx
mov byte [ebp - 4], 5
push 8
mov dword [esi + 0x74], ecx
call fcn.00448381
xor ecx, ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 3
mov word [eax], cx
mov byte [ebp - 4], 6
push 8
mov dword [esi + 0x80], ecx
call fcn.00448381
add esp, 0x10
mov dword [esi + 0x80], eax
xor ecx, ecx
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d2d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42d2ff.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42d2ff.154
movzx eax, byte [eax + 0x42d404]
jmp dword [eax*4 + 0x42d3ec]
cmp byte [0x89829e], 0
je case.0x42d2ff.154
call fcn.0042eb80
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x89829e], 0
jne case.0x42d2ff.154
call fcn.0042eb80
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42d359
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042e5a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042e5a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42d3ae
cmp edx, 0x52
je 0x42d39d
cmp ecx, 0x76
jne 0x42d3aa
mov ecx, esi
call fcn.0042e8c0
jmp 0x42d3b5
test al, al
je 0x42d3aa
mov ecx, esi
call fcn.0042e5a0
jmp 0x42d3b5
xor bl, bl
jmp 0x42d3b7
mov ecx, esi
call fcn.0042e6c0
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x432030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
push eax
push 0x64
push 0x66
call fcn.00431a80
lea eax, [edi + 0x38]
mov ecx, edi
push eax
push 0x65
push 0x67
call fcn.00431a80
mov ecx, edi
call fcn.0040c530
cmp byte [edi + 9], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x43209e
push 0x1b8
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1b9
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0xdb1
push dword [edi + 4]
call ebx
push 0
push eax
call esi
cmp byte [edi + 0xa], 0
je 0x4320c9
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 7
push 0x401
push dword [edi + 4]
call esi
push 7
push dword [edi + 4]
call ebx
push 1
push eax
push 0x28
push dword [edi + 4]
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434ed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x434f17
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x434f17
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.00433d90
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0040f4a0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [ebx + 4]
call edi
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0042c100
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.0044824b
add esp, 4
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.00432460
lea esi, [ebx + 0x200]
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
lea edi, [ebx + 0x1d0]
mov eax, dword [ebx + 0x1c8]
lea ecx, [ebp - 0x50]
push edi
mov dword [ebp - 0x10], eax
call fcn.0040a5b0
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a5b0
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.0040a5b0
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a5b0
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x435063
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x435032
push 0x4608a4
lea ecx, [ebp - 0x50]
call fcn.0040a620
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x435099
cmp byte [ebx + 0x156], 0
jne 0x435099
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.00435920
jmp 0x4350a4
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x43504a
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], eax
je 0x435099
cmp dword [ebp - 0x34], eax
jne 0x435088
push 0x4608a4
lea ecx, [ebp - 0x38]
call fcn.0040a620
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x2c]
call fcn.0044824b
push dword [ebp - 0x38]
call fcn.0044824b
push dword [ebp - 0x44]
call fcn.0044824b
push dword [ebp - 0x50]
call fcn.0044824b
add esp, 0x10
mov al, 1
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 0x435d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x435d62
cmp dword [edx + 8], 0xffffff65
jne 0x435d62
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x435da8
sub eax, 0x14
je 0x435d6b
sub eax, 2
je 0x435da8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x435d62
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x435d62
mov ecx, esi
call fcn.00435dd0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x436640
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0x46a008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0x899ce9], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x4366a5
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.0040aa30
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.0044824b
add esp, 4
mov eax, esi
jmp 0x4366c7
mov eax, dword [0x899e20]
test eax, eax
je 0x4366c7
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.0044823d
mov esp, ebp
pop ebp
ret 4

Function at 0x436ad0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x46a008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0x45fa5c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0044823d
mov esp, ebp
pop ebp
ret