joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595758
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
lea ecx, [esi + 0x6e4]
push esp
call fcn.00450620
lea eax, [ebp - 0x28]
push eax
call fcn.00441b20
add esp, 0x1c
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x451d2d
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0043e680
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 1
call fcn.00457790
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044c940
push 0x5a0878
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0043d500
add esp, 0x18
cmp dword [ebp - 0x2c], 8
jb 0x451cb8
push dword [ebp - 0x40]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x451cdd
push dword [ebp - 0x70]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x5a0888
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005587ed
mov esi, eax
add esp, 8
test esi, esi
je 0x451d1c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.00559b26
push esi
call fcn.00558982
add esp, 0x14
cmp dword [ebp - 0x44], 8
jb 0x451d2d
push dword [ebp - 0x58]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x451d3e
push dword [ebp - 0x28]
call fcn.00556a60
add esp, 4
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.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x452530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595883
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x611e60]
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 0x59fcd0
push str.CDuiFrameWnd::LoadResZipFile
call fcn.00493e90
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.00457291
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00457790
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 0x4525f8
xor ecx, ecx
jmp 0x45260f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452600
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00422430
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00457170
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.00461210
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x452654
push dword [ebp - 0x28]
call fcn.00556a60
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.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x453980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x59e6b4
lea ecx, [edi + 0x644]
call fcn.00457790
push eax
call fcn.005587ed
mov esi, eax
add esp, 8
test esi, esi
je 0x453a0e
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.00559921
push esi
call fcn.00558982
lea eax, [ebp - 0x10]
push eax
call fcn.00559706
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.004545c0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x454010
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x59e6b4
lea ecx, [esi + 0x644]
call fcn.00457790
push eax
call fcn.005587ed
add esp, 8
test eax, eax
je 0x45404c
push eax
call fcn.00558982
add esp, 4
lea ecx, [esi + 0x644]
call fcn.00457790
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.00436310
push 0
push dword [esi + 0x74c]
push 0xc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x611e60]
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.004220c0
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.004220c0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0054291f
lea ecx, [ebp - 0x48]
call fcn.0044e9e0
cmp dword [ebp - 0x1c], 8
jb 0x45493d
push dword [ebp - 0x30]
call fcn.00556a60
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 0x454962
push dword [ebp - 0x48]
call fcn.00556a60
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.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x456160
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596071
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x611e60]
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 0x4561c2
mov eax, dword [edi]
jmp 0x4561c4
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 0x456275
push eax
lea ecx, [ebp - 0x50]
call fcn.00455d70
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4561f1
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 0x456268
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x5f2b7c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x456268
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 0x456268
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.00422430
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00423770
lea ecx, [ebp - 0x28]
call fcn.00422630
test ebx, ebx
je 0x456275
push ebx
call fcn.00556a60
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.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x456dfd
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 0x456e2f
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 0x45993e
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 0x459961
or esi, 2
push 1
call edi
test ax, ax
jns 0x45996d
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x459979
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x459985
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45cd44
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 0x45cd7f
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x45cd7f
cmp esi, dword [ebx + 0xe8]
je 0x45cd7f
cmp byte [ebx + 0xe0], 0
jne 0x45cd7f
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x45ce5a
push edi
test eax, eax
je 0x45cde0
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.0045c9fa
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x45ce59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x45ce59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x45ce59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x45ce59
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.0045c9fa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460f0d
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x5969bc
call fcn.0055a891
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00422530
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x428], 0
mov ebx, 0x5f2b7c
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.0055ab06
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00422430
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x59e5a8
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.0055ab06
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x450]
call fcn.00422430
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.0046130f
add esp, 0xc
lea ecx, [ebp - 0x450]
xor ebx, ebx
push ebx
push 1
call fcn.004225e0
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.004225e0
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0055ab1f
lea eax, [ebp - 0x218]
push eax
call fcn.0055ab06
add esp, 0x10
test eax, eax
je 0x46108d
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x46101c
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 0x5a15d0
push eax
call fcn.00442010
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.004225e0
call fcn.0055a840
ret
Function at 0x4610a1
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x596a05
call fcn.0055a891
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov esi, dword [ebp + 0xc]
push eax
call fcn.00422530
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x440], 0
mov edi, 0x5f2b7c
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.0055ab06
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00422430
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x59e5a8
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.0055ab06
pop ecx
push eax
push edi
lea ecx, [ebp - 0x468]
call fcn.00422430
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.0046130f
add esp, 0xc
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.004225e0
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.004225e0
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0055ab1f
lea eax, [ebp - 0x218]
push eax
call fcn.0055ab06
add esp, 0x10
test eax, eax
je 0x4611fc
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x4611a3
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 0x5a15d0
push eax
call fcn.00442010
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x4611fc
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.004225e0
call fcn.0055a840
ret
Function at 0x461210
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x611e60]
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 0x461253
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.0046c27a
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.0046c119
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x4612f5
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.0046c119
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4612b3
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004610a1
pop ecx
pop ecx
jmp 0x4612ec
push dword [ebp - 8]
call fcn.00541c5a
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.0046c62f
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.00460f0d
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x46128b
push esi
call fcn.0046ba34
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005571f4
mov esp, ebp
pop ebp
ret

Function at 0x462396
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x611e60]
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.0045e801
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x462412
lea eax, [ebp - 0x14]
push eax
call fcn.004619c7
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x4623ee
push 0
call fcn.00436340
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x462412
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.00436340
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005571f4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x462423
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4624ad
cmp dword [esi + 0x10], 0
je 0x4624ad
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0055b3d0
mov ebx, esp
test ebx, ebx
je 0x4624ad
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.004571fa
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.0045c9fa
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0045981b
test al, al
je 0x4624ad
mov ecx, dword [esi + 0x10]
call fcn.0045e71b
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x462afa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x611e60]
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.0045fd92
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x462b7e
lea eax, [ebp - 0x14]
push eax
call fcn.004619c7
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x462b5a
push 0
call fcn.00436340
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x462b7e
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.00436340
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.005571f4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46b63f
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 0x46b6ab
cmp dword [ebp + 8], 0x100
jne 0x46b69a
cmp word [ebp + 0xc], 0xd
jne 0x46b69a
cmp byte [esi + 0x69a], 0
je 0x46b67f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46b69a
cmp byte [esi + 0x69b], 0
jne 0x46b69a
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x46b696
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0045c9fa
xor eax, eax
jmp 0x46b6ae
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 0x46ba7e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x611e60]
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 0x46bb34
movzx eax, word [esi]
test ax, ax
je 0x46bb34
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x46babe
cmp ax, 0x5c
jne 0x46bac0
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x46bab2
cmp edi, esi
je 0x46bb07
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0055ab1f
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x46bb44
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0046ba7e
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0055a9fa
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0055a9cb
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.005571f4
mov esp, ebp
pop ebp
ret
call fcn.0055cfb8
int3

Function at 0x46c1f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x46c26e
cmp dword [edi + 4], 0xffffffff
jne 0x46c26e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5f2b7c
push esi
call fcn.0055a9cb
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x46c240
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x46c240
mov eax, 0x2000000
jmp 0x46c273
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046e6f8
add esp, 0x10
test eax, eax
jne 0x46c25e
mov eax, dword [ebp - 4]
jmp 0x46c273
push eax
call fcn.0046edff
mov dword [edi], eax
mov eax, dword [0x618350]
pop ecx
jmp 0x46c273
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e805
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 0x46e839
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 0x46e834
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x46e860
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x46e849
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.00557660
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 0x46e9d3
Capabilities:
Encode data using xor
Hash data with crc32

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