joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413970
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov eax, 0x2050
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x204c], eax
push esi
push 0
mov esi, ecx
push 9
push 0x110a
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x413a9e
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x113e
push dword [esi]
mov dword [esp + 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x413a9e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x413a9e
lea ecx, [esp + 0x4c]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x413a9e
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea eax, [esp + 0x50]
push 0x800
shr ebx, 0xf
push eax
lea eax, [esp + 0x1058]
not bl
push eax
and bl, 1
call fcn.0049dc20
lea ecx, [esp + 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a23
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1002
jae 0x413ab4
xor eax, eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x18], eax
mov word [esp + ecx + 0x1050], ax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0x40
mov word [esp + 0x18], ax
lea eax, [esp + 0x1050]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [esi + 8]
mov ecx, esi
push eax
call fcn.00415760
pop ebx
mov ecx, dword [esp + 0x2050]
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x2050
ret
call fcn.00507636
int3
Function at 0x414370
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x2c8]
push 0x4009
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
push 0x400b
push 0x2b4
mov dword [edi + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2bc]
mov dword [edi + 0x1c], eax
pop edi
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x2b8
ret 8
Function at 0x4154d0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
mov esi, ecx
push 0x4001
push 0x2b4
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x542024
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x415546
push eax
push 0x800
lea eax, [esp + 0x2c0]
push eax
call fcn.004d6b80
push 0x4001
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x1109
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12b8]
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x12b8
ret 4

Function at 0x416cd0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 0x103a]
mov byte [esi + 0x38], 0
mov word [edi], ax
lea eax, [esp + 0xb]
mov edx, dword [esi + 4]
push eax
lea eax, [edx + 0x5028]
push eax
lea eax, [edx + 0xd552]
push eax
call fcn.00416d50
test al, al
jne 0x416d20
cmp byte [esp + 0xb], al
jne 0x416d47
mov eax, dword [esi + 4]
mov ecx, 0x5b77e4
add eax, 0xd552
push eax
call fcn.0046e680
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
mov ecx, esi
push dword [eax + 4]
call fcn.00416960
mov ecx, esi
call fcn.00416390
cmp byte [esi + 0x38], 0
je 0x416d47
cmp word [edi], 0
je 0x416d47
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ecx
ret

Function at 0x416f30
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x416f78
mov edx, dword [esp + 0x10]
push ebx
xor ebx, ebx
mov dword [edx], 0
mov dword [edx + 4], 0
cmp dword [edi + 0x18], ebx
jbe 0x416f6f
xor esi, esi
mov ecx, dword [edi + 0x14]
lea esi, [esi + 0x10]
mov eax, dword [ecx + esi - 8]
add dword [edx], eax
mov eax, dword [ecx + esi - 4]
adc dword [edx + 4], eax
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x416f56
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 4
lea eax, [esp + 8]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x416f9f
pop edi
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esp + 8]
add ecx, esi
pop edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x418860
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x418950
mov ecx, dword [esi + 0x18]
push edi
xor edi, edi
test ecx, ecx
je 0x41888c
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
cmp edx, dword [eax]
je 0x41888c
inc edi
add eax, 0x10
cmp edi, ecx
jb 0x418880
cmp edi, ecx
jb 0x41889a
pop edi
xor al, al
pop esi
add esp, 0x18
ret 0xc
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, edi
push ebx
mov ebx, dword [esp + 0x2c]
shl ecx, 4
push ebp
mov ebp, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
lea esp, [esp]
test ebx, ebx
je 0x41892e
mov eax, dword [esi + 0x14]
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov byte [esi + 0x10], 0
cmp ebp, edi
jbe 0x4188eb
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0
push 0
push 0
call fcn.00418c40
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push ebx
push edx
mov ecx, esi
call fcn.00418860
mov byte [esi + 0x10], 1
test al, al
je 0x418944
mov eax, dword [esp + 0x18]
inc ebp
mov edx, dword [esp + 0x10]
sub ebx, eax
mov ecx, dword [esp + 0x1c]
add edx, eax
add dword [esp + 0x14], eax
add ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esi + 0x18]
jb 0x4188c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
mov dword [eax], ecx
mov al, 1
pop esi
add esp, 0x18
ret 0xc
pop ebp
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x18
ret 0xc
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop esi
setne al
add esp, 0x18
ret 0xc

Function at 0x419310
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x18]
add dword [esi + 0x20], edi
mov ecx, dword [esi + 0x20]
adc dword [esi + 0x24], 0
mov edx, dword [esi + 0x24]
jne 0x41932d
test ecx, ecx
je 0x41936c
mov ebp, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
cmp edx, ebp
ja 0x41936c
jb 0x41933d
cmp ecx, ebx
jae 0x41936c
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov byte [eax + 0x30], 1
cmp byte [esi + 5], 0
mov bl, 1
mov ebp, dword [esp + 0x14]
je 0x419380
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
jmp 0x419396
push 0
push dword [esp + 0x20]
push edi
push ebp
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
mov ecx, dword [esi + 0xc]
push edi
push ebp
push dword [ecx + 4]
call fcn.0041ebb0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 0xc
Function at 0x41c3a0
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x41c3b4
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c3b6
add eax, eax
test eax, eax
jns 0x41c3c3
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c3c5
add eax, eax
test eax, eax
jns 0x41c3d2
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c3d4
add eax, eax
test eax, eax
jns 0x41c3e1
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c3e3
add eax, eax
test eax, eax
jns 0x41c3f0
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c3f2
add eax, eax
test eax, eax
jns 0x41c3ff
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c401
add eax, eax
test eax, eax
jns 0x41c40e
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c410
add eax, eax
test eax, eax
jns 0x41c41d
add eax, eax
xor eax, 0x4c11db7
jmp 0x41c41f
add eax, eax
mov dword [ecx*4 + 0x578338], eax
inc ecx
cmp ecx, 0x100
jl 0x41c3a2
ret

Function at 0x41d900
Capabilities:
Delete file

Disassembly:
movzx eax, word [esp + 4]
push esi
push eax
call fcn.0052b338
add esp, 4
mov esi, eax
cmp word [0x579758], 0
je 0x41d930
push 0x579758
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [0x579758], ax
mov eax, esi
pop esi
ret

Function at 0x41e9d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00486220
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0049dbe0
push esi
call fcn.004750c0
test al, al
je 0x41ea11
pop edi
mov al, 1
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov word [esi], ax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ea5d
lea eax, [edi + edi]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00486220
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0049dbe0
push esi
call fcn.004750c0
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x41f200
Capabilities:
Check if file exists

Disassembly:
mov dword [ecx + 0x1030], 0
mov dword [ecx + 0x102c], 0
jmp fcn.00473c40
Function at 0x427b50
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x427b94
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, esi
shrd esi, edx, 8
movzx ecx, al
shr edx, 8
xor esi, dword [ecx*8 + 0x57c768]
xor edx, dword [ecx*8 + 0x57c76c]
sub edi, 1
jne 0x427b67
mov eax, esi
pop esi
pop edi
pop ebx
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop ebx
ret 0x10
Function at 0x42c0d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x42c0f1
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
add dword [esp + 0x20], 5
lea edx, [ecx - 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
or ebp, 0xffffffff
add edx, edi
mov dword [esp + 0x14], edx
lea esp, [esp]
lea esi, [ebx + edi]
mov dword [esp + 0x10], esi
cmp esi, edx
jae 0x42c133
jmp 0x42c120
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x42c12f
inc esi
cmp esi, edx
jb 0x42c120
mov dword [esp + 0x10], esi
mov ebx, esi
sub ebx, edi
mov ecx, ebx
sub ecx, ebp
cmp esi, edx
jae 0x42c25d
cmp ecx, 3
jbe 0x42c171
xor eax, eax
mov cl, byte [esi + 4]
mov ebp, ebx
mov dword [esp + 0x1c], ebp
test cl, cl
je 0x42c1ad
cmp cl, 0xff
je 0x42c1ad
mov edx, dword [esp + 0x14]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x42c110
dec ecx
shl eax, cl
and eax, 7
je 0x42c14a
movzx ecx, byte [eax + 0x543508]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x543500], 0
mov cl, byte [edx + 4]
je 0x42c199
test cl, cl
je 0x42c199
cmp cl, 0xff
jne 0x42c14a
mov edx, dword [esp + 0x14]
and eax, 3
add eax, eax
mov ebp, ebx
or eax, 1
inc ebx
jmp 0x42c110
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [esp + 0x2c]
shl edi, 8
or edi, ecx
nop
cmp dword [esp + 0x34], 0
je 0x42c1de
lea edx, [edi + ebx]
add edx, esi
jmp 0x42c1e4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x42c21f
movzx ebp, byte [eax + 0x543508]
mov ecx, 0x18
shl ebp, 3
mov edi, edx
sub ecx, ebp
shr edi, cl
mov ecx, edi
mov dword [esp + 0x18], edi
test cl, cl
je 0x42c20c
cmp cl, 0xff
jne 0x42c21f
mov ecx, 0x20
mov edi, 1
sub ecx, ebp
shl edi, cl
dec edi
xor edi, edx
jmp 0x42c1d0
mov esi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], dl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [esp + 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add ebx, ecx
jmp 0x42c110
pop edi
pop esi
pop ebp
cmp ecx, 3
jbe 0x42c276
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0x10
ret 0x14
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x24]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x42c950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor eax, eax
lea ecx, [ebp - 0x2c]
push 0x800
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], al
call fcn.004051c0
mov dword [ebp - 4], 0
xor eax, eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
mov word [ebx + 0x8528], ax
test edi, edi
jle 0x42ca8f
nop
mov eax, 0x800
cmp edi, 0x800
ja 0x42c9d0
movzx eax, di
movzx ebx, ax
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, dword [ebp + 8]
call esi
cmp eax, ebx
jne 0x42ca71
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x540780]
mov ecx, dword [ebp + 0xc]
call esi
mov esi, dword [ebp - 0x2c]
test al, al
je 0x42ca18
mov ecx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004743f0
cmp dword [ebp + 0x14], 0
je 0x42ca57
mov edx, ebx
test edx, edx
je 0x42ca57
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movzx eax, word [eax + 0x8528]
movsx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [edi + ecx*2 + 8]
movzx eax, ax
mov word [edi + 0x8528], ax
sub edx, 1
jne 0x42ca31
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
sub edi, ebx
mov esi, dword [ebp - 0x2c]
add eax, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x10], edi
test edi, edi
jg 0x42c9c0
jmp 0x42ca91
mov eax, dword [ebp - 0x18]
mov ecx, 0x5b77e4
mov eax, dword [eax + 4]
add eax, 0xd552
push eax
call fcn.0046e300
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
jmp 0x42ca91
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42cab7
cmp byte [ebp - 0x1c], 0
je 0x42caab
push dword [ebp - 0x24]
push esi
call fcn.0049b220
push esi
call fcn.00524aa2
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507712
mov esp, ebp
pop ebp
ret 0x10

Function at 0x433f90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x433fa8
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
add eax, 0xfffffff0
cmp esi, eax
jb 0x433fb9
mov esi, eax
mov edi, dword [edi + 4]
xor edx, edx
add edi, 0x10
test esi, esi
je 0x433fe4
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, edx
shl edx, 8
shr ecx, 8
xor ecx, eax
movzx eax, cl
xor edx, dword [ebx + eax*4 + 0x1a98]
sub esi, 1
jne 0x433fc5
pop edi
movzx eax, dx
cmp eax, dword [ebp + 0x10]
pop esi
pop ebp
sete al
pop ebx
ret 8
Function at 0x43ddb0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00507864
add esp, 4
mov esi, eax
push edi
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x5aea80]
push esi
call fcn.004b6a10
push esi
call fcn.004d60d0
push esi
call fcn.0050786d
add esp, 4
pop edi
pop esi
ret 4

Function at 0x43e070
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebp
push 0x54403c
push eax
call fcn.00476380
mov ebp, eax
test ebp, ebp
jne 0x43e0bc
lea eax, [ebp + 0x32]
pop ebp
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00507712
add esp, 0x1004
ret 8
push esi
mov esi, dword [esp + 0x1014]
xor eax, eax
cmp esi, 0x8000
jbe 0x43e1d0
push ebx
push edi
push eax
mov eax, esi
shr eax, 3
add eax, 0x1000
push eax
push ebp
call fcn.00528c86
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0052891c
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043de10
mov ecx, esi
mov ebx, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.00528c86
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0052891c
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043de10
lea ecx, [esi + esi]
mov edi, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.00528c86
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0052891c
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043de10
mov esi, eax
mov eax, dword [esp + 0x101c]
push 0
lea ecx, [eax + eax*2]
shr ecx, 2
add ecx, 0x1000
push ecx
push ebp
call fcn.00528c86
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0052891c
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043de10
add eax, esi
add eax, edi
add eax, ebx
cdq
and edx, 3
push ebp
lea esi, [edx + eax]
sar esi, 2
call fcn.00525a4d
add esp, 4
mov eax, esi
pop edi
pop ebx
jmp 0x43e211
cmp esi, 0x1000
jbe 0x43e1e0
lea eax, [esi - 0x1000]
shr eax, 1
push 0
push eax
push ebp
call fcn.00528c86
push ebp
push 0x1000
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0052891c
push ebp
mov esi, eax
call fcn.00525a4d
add esp, 0x20
lea eax, [esp + 8]
push esi
push eax
call fcn.0043de10
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.00507712
add esp, 0x1004
ret 8
Function at 0x4414a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5395b6
mov eax, dword fs:[0]
push eax
mov eax, 0x61a0
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44162a
push esi
call fcn.004752c0
test al, al
je 0x44162a
push esi
call fcn.004755a0
test al, al
jne 0x44162a
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x441507
sub esi, ecx
push edi
sar esi, 1
call fcn.00486220
cmp word [eax], 0
je 0x44162a
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x541db4
push edi
call fcn.00485ce0
lea ecx, [ebp - 0x1070]
call fcn.0049dc70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1070]
call fcn.0049dd10
push 2
push 0
push 2
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.00499e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20b8]
call fcn.00404cb0
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.0049aaf0
test eax, eax
jne 0x441603
mov edi, edi
push esi
lea eax, [ebp - 0x20b8]
push edi
push eax
call fcn.0052595a
add esp, 0xc
test eax, eax
jne 0x441603
lea eax, [ebp - 0x20b8]
push eax
call fcn.004758f0
cmp byte [ebp - 0x10ac], 0
je 0x4415e1
test byte [ebp - 0x1078], 1
je 0x4415ed
lea eax, [ebp - 0x20b8]
push eax
call fcn.00474c40
jmp 0x4415ed
lea eax, [ebp - 0x20b8]
push eax
call fcn.00474cc0
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.0049aaf0
test eax, eax
je 0x4415a0
push edi
call fcn.00474c40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x61ac]
call fcn.00499f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1070]
call fcn.00405100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507712
mov esp, ebp
pop ebp
ret 4

Function at 0x441650
Capabilities:
Get common file path

Disassembly:
cmp dword [esp + 8], 0x104
jb 0x441675
push dword [esp + 4]
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x441675
mov al, 1
ret 8
push ebx
push dword [esp + 0xc]
xor bl, bl
push str.unknown_folder
push dword [esp + 0x10]
call fcn.0049dc20
mov al, bl
pop ebx
ret 8
Function at 0x447620
Capabilities:
Get common file path

Disassembly:
cmp dword [0x57dfb8], 1
je fcn.004d7f20
push dword [esp + 8]
lea eax, [ecx + 0x1044]
push eax
push dword [esp + 0xc]
call fcn.0049dc20
ret 8

Function at 0x448260
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 8]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 8]
push eax
push 0
push 0x1012
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
movsx edi, ax
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
movsx esi, ax
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esp + 0x10], 1
cwde
jne 0x4482f3
test edi, 0x8000
jne 0x4482f3
test esi, 0x8000
jne 0x4482f3
test eax, 0x8000
jne 0x4482f3
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00507712
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x18
ret