joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f49b3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x686300]
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
push str.LoadResZipFile
push 1
push 0x3c9
push 0x608e68
push str.CDuiFrameWnd::LoadResZipFile
call fcn.004f4980
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea ecx, [ebx + 0x4b8]
push str.language_
lea eax, [ebp - 0xac]
push eax
call fcn.004480f1
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00448600
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x440bf8
xor ecx, ecx
jmp 0x440c0f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440c00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00423820
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00447fe0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.00452079
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x440c54
push dword [ebp - 0x28]
call fcn.005b7634
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.005b7dc4
mov esp, ebp
pop ebp
ret
Function at 0x441f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x60771c
lea ecx, [edi + 0x644]
call fcn.00448600
push eax
call fcn.005b949e
mov esi, eax
add esp, 8
test esi, esi
je 0x44200e
push esi
push 0xa
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
xorps xmm0, xmm0
mov byte [ebp - 7], 0
push 1
push eax
movq qword [ebp - 0xf], xmm0
call fcn.005ba5e5
push esi
call fcn.005b9633
lea eax, [ebp - 0x10]
push eax
call fcn.005ba3ca
mov esi, dword [edi + 0x748]
mov edx, 0x64
sub edx, esi
add esp, 0x18
imul edx, eax
mov ecx, edi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
push eax
call fcn.00442bc0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret
Function at 0x442610
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x60771c
lea ecx, [esi + 0x644]
call fcn.00448600
push eax
call fcn.005b949e
add esp, 8
test eax, eax
je 0x44264c
push eax
call fcn.005b9633
add esp, 4
lea ecx, [esi + 0x644]
call fcn.00448600
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.00421590
push 0
push dword [esi + 0x74c]
push 0xc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x443e50
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x686300]
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]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x38], 0
push esi
mov word [ebp - 0x48], ax
call fcn.00423cd0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x18]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.00423cd0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.005a34d8
lea ecx, [ebp - 0x48]
call fcn.0043ce00
cmp dword [ebp - 0x1c], 8
jb 0x443efd
push dword [ebp - 0x30]
call fcn.005b7634
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x443f22
push dword [ebp - 0x48]
call fcn.005b7634
add esp, 4
xor eax, eax
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.005b7dc4
mov esp, ebp
pop ebp
ret
Function at 0x446fd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f52f1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x686300]
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 esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 1
jb 0x447032
mov eax, dword [edi]
jmp 0x447034
mov eax, edi
lea ecx, [ebp - 0x30]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4470e5
push eax
lea ecx, [ebp - 0x50]
call fcn.00446be0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x447061
mov edi, dword [edi]
mov ebx, dword [ebp - 0x50]
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4470d8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x65b8c0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4470d8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.StringFileInfo040904b0FileDescription
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4470d8
push dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423820
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00424e90
lea ecx, [ebp - 0x28]
call fcn.00424ed0
test ebx, ebx
je 0x4470e5
push ebx
call fcn.005b7634
add esp, 4
mov eax, esi
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.005b7dc4
mov esp, ebp
pop ebp
ret
Function at 0x447c6d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x447c9f
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x44a7b5
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x44a7d8
or esi, 2
push 1
call edi
test ax, ax
jns 0x44a7e4
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44a7f0
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44a7fc
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44dbbb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x44dbf6
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x44dbf6
cmp esi, dword [ebx + 0xe8]
je 0x44dbf6
cmp byte [ebx + 0xe0], 0
jne 0x44dbf6
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x44dcd1
push edi
test eax, eax
je 0x44dc57
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe8]
call fcn.0044d871
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x44dcd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x44dcd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x44dcd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x44dcd0
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe8], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe8]
call fcn.0044d871
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x451d76
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x5f5c61
call fcn.005bb551
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00423920
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x428], 0
mov ebx, 0x65b8c0
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.005bb7c6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00423820
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x607610
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.005bb7c6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x450]
call fcn.00423820
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00452178
add esp, 0xc
lea ecx, [ebp - 0x450]
xor ebx, ebx
push ebx
push 1
call fcn.00424f30
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424f30
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005bb7df
lea eax, [ebp - 0x218]
push eax
call fcn.005bb7c6
add esp, 0x10
test eax, eax
je 0x451ef6
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x451e85
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x454], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x60a780
push eax
call fcn.0042f480
add esp, 0x10
lea eax, [ebp - 0x420]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, eax
lea eax, [ebp - 0x46c]
push eax
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x468]
call fcn.00424f30
call fcn.005bb500
ret
Function at 0x451f0a
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x5f5caa
call fcn.005bb551
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov esi, dword [ebp + 0xc]
push eax
call fcn.00423920
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x440], 0
mov edi, 0x65b8c0
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.005bb7c6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00423820
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x607610
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.005bb7c6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x468]
call fcn.00423820
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00452178
add esp, 0xc
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00424f30
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00424f30
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005bb7df
lea eax, [ebp - 0x218]
push eax
call fcn.005bb7c6
add esp, 0x10
test eax, eax
je 0x452065
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x45200c
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x424], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x60a780
push eax
call fcn.0042f480
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x452065
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424f30
call fcn.005bb500
ret
Function at 0x452079
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
xor edi, edi
mov dword [ebp - 0x238], eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x4520bc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.0045d0e5
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.0045cf84
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x45215e
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.0045cf84
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x45211c
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.00451f0a
pop ecx
pop ecx
jmp 0x452155
push dword [ebp - 8]
call fcn.005a2805
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.0045d49a
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.00451d76
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x4520f4
push esi
call fcn.0045c89f
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret

Function at 0x4531e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044f67a
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x45325c
lea eax, [ebp - 0x14]
push eax
call fcn.00452811
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x453238
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45325c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45326d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4532f7
cmp dword [esi + 0x10], 0
je 0x4532f7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.005bc090
mov ebx, esp
test ebx, ebx
je 0x4532f7
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.0044806a
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044d871
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044a692
test al, al
je 0x4532f7
mov ecx, dword [esi + 0x10]
call fcn.0044f594
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x453944
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00450c0b
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x4539c8
lea eax, [ebp - 0x14]
push eax
call fcn.00452811
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x4539a4
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4539c8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45c4aa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x45c516
cmp dword [ebp + 8], 0x100
jne 0x45c505
cmp word [ebp + 0xc], 0xd
jne 0x45c505
cmp byte [esi + 0x69a], 0
je 0x45c4ea
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45c505
cmp byte [esi + 0x69b], 0
jne 0x45c505
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45c501
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0044d871
xor eax, eax
jmp 0x45c519
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x45c8e9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x686300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45c99f
movzx eax, word [esi]
test ax, ax
je 0x45c99f
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x45c929
cmp ax, 0x5c
jne 0x45c92b
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x45c91d
cmp edi, esi
je 0x45c972
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.005bb7df
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45c9af
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045c8e9
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005bb6ba
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005bb68b
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret
call fcn.005bdc78
int3

Function at 0x45d05d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x45d0d9
cmp dword [edi + 4], 0xffffffff
jne 0x45d0d9
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x65b8c0
push esi
call fcn.005bb68b
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45d0ab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45d0ab
mov eax, 0x2000000
jmp 0x45d0de
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045f563
add esp, 0x10
test eax, eax
jne 0x45d0c9
mov eax, dword [ebp - 4]
jmp 0x45d0de
push eax
call fcn.0045fc6a
mov dword [edi], eax
mov eax, dword [0x68f328]
pop ecx
jmp 0x45d0de
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x45f6a4
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45f69f
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x45f6cb
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x45f6b4
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.005b8230
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x45f84c
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x45f907
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
dec edi
jne 0x45f86a
pop edi
test esi, esi
je 0x45f920
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x60b458]
inc edx
dec esi
jne 0x45f90b
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret