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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5273
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x689300]
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 0x609e88
push str.CDuiFrameWnd::LoadResZipFile
call fcn.004f5380
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.00448134
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00448106
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 0x440c38
xor ecx, ecx
jmp 0x440c4f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440c40
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.00448010
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.00452077
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x440c94
push dword [ebp - 0x28]
call fcn.00470aa0
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.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x441fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x608734
lea ecx, [edi + 0x644]
call fcn.00448106
push eax
call fcn.005b9e4e
mov esi, eax
add esp, 8
test esi, esi
je 0x44204e
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.005baf95
push esi
call fcn.005b9fe3
lea eax, [ebp - 0x10]
push eax
call fcn.005bad7a
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.00442c00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x442650
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x608734
lea ecx, [esi + 0x644]
call fcn.00448106
push eax
call fcn.005b9e4e
add esp, 8
test eax, eax
je 0x44268c
push eax
call fcn.005b9fe3
add esp, 4
lea ecx, [esi + 0x644]
call fcn.00448106
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 0x443e90
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5830
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x689300]
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.005a3e5b
lea ecx, [ebp - 0x48]
call fcn.0043ce40
cmp dword [ebp - 0x1c], 8
jb 0x443f3d
push dword [ebp - 0x30]
call fcn.00470aa0
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 0x443f62
push dword [ebp - 0x48]
call fcn.00470aa0
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.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x447000
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5c31
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x689300]
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 0x447062
mov eax, dword [edi]
jmp 0x447064
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 0x447115
push eax
lea ecx, [ebp - 0x50]
call fcn.00446c10
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x447091
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 0x447108
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x65dd60
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x447108
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 0x447108
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 0x447115
push ebx
call fcn.00470aa0
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.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x447c9d
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 0x447ccf
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 0x44a7de
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 0x44a801
or esi, 2
push 1
call edi
test ax, ax
jns 0x44a80d
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44a819
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44a825
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44dbe4
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 0x44dc1f
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x44dc1f
cmp esi, dword [ebx + 0xe8]
je 0x44dc1f
cmp byte [ebx + 0xe0], 0
jne 0x44dc1f
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x44dcfa
push edi
test eax, eax
je 0x44dc80
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.0044d89a
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x44dcf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x44dcf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x44dcf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x44dcf9
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.0044d89a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x451d74
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x5f6542
call fcn.005bbf01
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, 0x65dd60
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.005bc176
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00423820
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x608628
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.005bc176
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.00452176
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.005bc18f
lea eax, [ebp - 0x218]
push eax
call fcn.005bc176
add esp, 0x10
test eax, eax
je 0x451ef4
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x451e83
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 0x60b7c0
push eax
call fcn.0042f430
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.005bbeb0
ret
Function at 0x451f08
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x5f658b
call fcn.005bbf01
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, 0x65dd60
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.005bc176
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00423820
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x608628
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.005bc176
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.00452176
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.005bc18f
lea eax, [ebp - 0x218]
push eax
call fcn.005bc176
add esp, 0x10
test eax, eax
je 0x452063
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x45200a
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 0x60b7c0
push eax
call fcn.0042f430
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x452063
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.005bbeb0
ret
Function at 0x452077
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x689300]
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 0x4520ba
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.0045d125
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.0045cfc4
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x45215c
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.0045cfc4
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x45211a
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.00451f08
pop ecx
pop ecx
jmp 0x452153
push dword [ebp - 8]
call fcn.005a3188
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.0045d4da
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.00451d74
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x4520f2
push esi
call fcn.0045c8df
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8774
mov esp, ebp
pop ebp
ret

Function at 0x45323e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x689300]
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.0044f67d
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4532ba
lea eax, [ebp - 0x14]
push eax
call fcn.0045280f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x453296
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4532ba
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.005b8774
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4532cb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x453355
cmp dword [esi + 0x10], 0
je 0x453355
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.005bca40
mov ebx, esp
test ebx, ebx
je 0x453355
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.0044809a
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.0044d89a
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044a6bb
test al, al
je 0x453355
mov ecx, dword [esi + 0x10]
call fcn.0044f597
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4539a2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x689300]
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.00450c0e
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x453a26
lea eax, [ebp - 0x14]
push eax
call fcn.0045280f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x453a02
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x453a26
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.005b8774
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45c4ea
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 0x45c556
cmp dword [ebp + 8], 0x100
jne 0x45c545
cmp word [ebp + 0xc], 0xd
jne 0x45c545
cmp byte [esi + 0x69a], 0
je 0x45c52a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45c545
cmp byte [esi + 0x69b], 0
jne 0x45c545
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45c541
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0044d89a
xor eax, eax
jmp 0x45c559
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 0x45c929
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x689300]
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 0x45c9df
movzx eax, word [esi]
test ax, ax
je 0x45c9df
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x45c969
cmp ax, 0x5c
jne 0x45c96b
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x45c95d
cmp edi, esi
je 0x45c9b2
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.005bc18f
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45c9ef
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045c929
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005bc06a
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005bc03b
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.005b8774
mov esp, ebp
pop ebp
ret
call fcn.005be628
int3

Function at 0x45d09d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x45d119
cmp dword [edi + 4], 0xffffffff
jne 0x45d119
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x65dd60
push esi
call fcn.005bc03b
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45d0eb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45d0eb
mov eax, 0x2000000
jmp 0x45d11e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045f5a3
add esp, 0x10
test eax, eax
jne 0x45d109
mov eax, dword [ebp - 4]
jmp 0x45d11e
push eax
call fcn.0045fcaa
mov dword [edi], eax
mov eax, dword [0x692328]
pop ecx
jmp 0x45d11e
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f6b0
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 0x45f6e4
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 0x45f6df
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x45f70b
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x45f6f4
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.005b8be0
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 0x45f87e
Capabilities:
Encode data using xor
Hash data with crc32

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