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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593c53
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x60fe70]
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 0x59dcc0
push str.CDuiFrameWnd::LoadResZipFile
call fcn.004962c0
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.004596c1
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00459bd0
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 0x454a58
xor ecx, ecx
jmp 0x454a6f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454a60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00421fd0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.004595b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.00463636
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x454ab4
push dword [ebp - 0x28]
call fcn.00481ffe
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.00555894
mov esp, ebp
pop ebp
ret
Function at 0x455de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x59c6c4
lea ecx, [edi + 0x644]
call fcn.00459bd0
push eax
call fcn.00556e8d
mov esi, eax
add esp, 8
test esi, esi
je 0x455e6e
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.00557fc1
push esi
call fcn.00557022
lea eax, [ebp - 0x10]
push eax
call fcn.00557da6
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.00456a20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00555894
mov esp, ebp
pop ebp
ret
Function at 0x456470
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x59c6c4
lea ecx, [esi + 0x644]
call fcn.00459bd0
push eax
call fcn.00556e8d
add esp, 8
test eax, eax
je 0x4564ac
push eax
call fcn.00557022
add esp, 4
lea ecx, [esi + 0x644]
call fcn.00459bd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.0043a370
push 0
push dword [esi + 0x74c]
push 0xc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5940b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x60fe70]
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.00421c60
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.00421c60
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0054103b
lea ecx, [ebp - 0x48]
call fcn.00450eb0
cmp dword [ebp - 0x1c], 8
jb 0x456d9d
push dword [ebp - 0x30]
call fcn.00481ffe
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 0x456dc2
push dword [ebp - 0x48]
call fcn.00481ffe
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.00555894
mov esp, ebp
pop ebp
ret
Function at 0x4585a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594441
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x60fe70]
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 0x458602
mov eax, dword [edi]
jmp 0x458604
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 0x4586b5
push eax
lea ecx, [ebp - 0x50]
call fcn.004581b0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x458631
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 0x4586a8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x5f0abc
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4586a8
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 0x4586a8
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.00421fd0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00423310
lea ecx, [ebp - 0x28]
call fcn.004221d0
test ebx, ebx
je 0x4586b5
push ebx
call fcn.00481ffe
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.00555894
mov esp, ebp
pop ebp
ret
Function at 0x45923d
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 0x45926f
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 0x45bd7e
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 0x45bda1
or esi, 2
push 1
call edi
test ax, ax
jns 0x45bdad
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x45bdb9
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45bdc5
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45f184
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 0x45f1bf
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x45f1bf
cmp esi, dword [ebx + 0xe8]
je 0x45f1bf
cmp byte [ebx + 0xe0], 0
jne 0x45f1bf
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x45f29a
push edi
test eax, eax
je 0x45f220
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.0045ee3a
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x45f299
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x45f299
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x45f299
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x45f299
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.0045ee3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x463333
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x594d92
call fcn.00558f31
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.004220d0
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x428], 0
mov ebx, 0x5f0abc
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.005591a6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00421fd0
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x59c5b8
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.005591a6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x450]
call fcn.00421fd0
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.00463735
add esp, 0xc
lea ecx, [ebp - 0x450]
xor ebx, ebx
push ebx
push 1
call fcn.00422180
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00422180
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005591bf
lea eax, [ebp - 0x218]
push eax
call fcn.005591a6
add esp, 0x10
test eax, eax
je 0x4634b3
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x463442
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 0x59f5c0
push eax
call fcn.004452f0
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.00422180
call fcn.00558ee0
ret
Function at 0x4634c7
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x594ddb
call fcn.00558f31
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov esi, dword [ebp + 0xc]
push eax
call fcn.004220d0
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x440], 0
mov edi, 0x5f0abc
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.005591a6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00421fd0
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x59c5b8
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.005591a6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x468]
call fcn.00421fd0
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.00463735
add esp, 0xc
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00422180
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00422180
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005591bf
lea eax, [ebp - 0x218]
push eax
call fcn.005591a6
add esp, 0x10
test eax, eax
je 0x463622
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x4635c9
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 0x59f5c0
push eax
call fcn.004452f0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x463622
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.00422180
call fcn.00558ee0
ret
Function at 0x463636
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x60fe70]
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 0x463679
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.0046e6b0
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.0046e54f
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x46371b
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.0046e54f
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4636d9
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004634c7
pop ecx
pop ecx
jmp 0x463712
push dword [ebp - 8]
call fcn.005403e7
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.0046ea65
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.00463333
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x4636b1
push esi
call fcn.0046de6a
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555894
mov esp, ebp
pop ebp
ret

Function at 0x464781
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x60fe70]
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.00460c38
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4647fd
lea eax, [ebp - 0x14]
push eax
call fcn.00463dce
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x4647d9
push 0
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4647fd
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.0043a3a0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00555894
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46480e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x464898
cmp dword [esi + 0x10], 0
je 0x464898
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00559a70
mov ebx, esp
test ebx, ebx
je 0x464898
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.0045963a
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.0045ee3a
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0045bc5b
test al, al
je 0x464898
mov ecx, dword [esi + 0x10]
call fcn.00460b52
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret 0x10

Function at 0x464ee5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x60fe70]
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.004621c9
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x464f69
lea eax, [ebp - 0x14]
push eax
call fcn.00463dce
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x464f45
push 0
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x464f69
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.0043a3a0
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.00555894
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46da75
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 0x46dae1
cmp dword [ebp + 8], 0x100
jne 0x46dad0
cmp word [ebp + 0xc], 0xd
jne 0x46dad0
cmp byte [esi + 0x69a], 0
je 0x46dab5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46dad0
cmp byte [esi + 0x69b], 0
jne 0x46dad0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x46dacc
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0045ee3a
xor eax, eax
jmp 0x46dae4
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 0x46deb4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x60fe70]
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 0x46df6a
movzx eax, word [esi]
test ax, ax
je 0x46df6a
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x46def4
cmp ax, 0x5c
jne 0x46def6
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x46dee8
cmp edi, esi
je 0x46df3d
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.005591bf
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x46df7a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0046deb4
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0055909a
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0055906b
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.00555894
mov esp, ebp
pop ebp
ret
call fcn.0055b658
int3

Function at 0x46e628
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x46e6a4
cmp dword [edi + 4], 0xffffffff
jne 0x46e6a4
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5f0abc
push esi
call fcn.0055906b
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x46e676
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x46e676
mov eax, 0x2000000
jmp 0x46e6a9
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00470b2e
add esp, 0x10
test eax, eax
jne 0x46e694
mov eax, dword [ebp - 4]
jmp 0x46e6a9
push eax
call fcn.00471235
mov dword [edi], eax
mov eax, dword [0x616130]
pop ecx
jmp 0x46e6a9
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470c3b
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 0x470c6f
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 0x470c6a
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x470c96
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x470c7f
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.00555d00
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 0x470e09
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x470e17
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 0x470ed2
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 + 0x5a0298]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
dec edi
jne 0x470e35
pop edi
test esi, esi
je 0x470eeb
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5a0298]
inc edx
dec esi
jne 0x470ed6
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret