joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4359d7
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x4a2d30
call fcn.0048104e
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [edi + 4], esi
lea ecx, [edi + 8]
mov dword [ebp - 4], esi
mov dword [edi], vtable.CProgressDialog.0
call fcn.00402cda
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
call fcn.00402cda
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 2
call fcn.00402cda
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402cda
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 4
call fcn.00402cda
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 5
call fcn.00402cda
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 6
call fcn.00402cda
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 7
call fcn.00402cda
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 8
call fcn.00402cda
lea ecx, [edi + 0x84]
mov byte [ebp - 4], 9
mov dword [edi + 0x80], esi
call fcn.00402cda
mov dword [edi + 0x90], esi
lea ebx, [edi + 0xbc]
mov dword [edi + 0x98], 1
mov dword [edi + 0x9c], esi
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], esi
mov dword [ebx], esi
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0xb
call fcn.00402cda
mov dword [edi + 0x13c], esi
lea esi, [edi + 0x140]
and dword [esi], 0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 0xe
call fcn.00435c26
and dword [edi + 0x208], 0
lea ecx, [edi + 0x20c]
mov byte [ebp - 4], 0xf
mov byte [edi + 0x200], 1
call fcn.00402cda
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x10
call fcn.00402cda
lea ecx, [edi + 0x228]
mov byte [ebp - 4], 0x11
call fcn.00438635
mov byte [ebp - 4], 0x12
or dword [edi + 0x204], 0xffffffff
xor eax, eax
push eax
push esi
mov word [edi + 0x664], 1
mov byte [edi + 0x2c], al
mov dword [edi + 0xb8], eax
mov word [edi + 0x202], 1
mov word [edi + 0x128], ax
mov word [edi + 0x137], ax
mov dword [edi + 0x12c], eax
mov dword [edi + 0x130], eax
mov word [edi + 0x134], ax
mov byte [edi + 0x136], al
mov byte [edi + 0x201], al
call fcn.00401b42
pop ecx
pop ecx
test eax, eax
jne 0x435bbc
xor esi, esi
lea eax, [edi + 0x13c]
push esi
push eax
call fcn.00401b42
pop ecx
pop ecx
test eax, eax
jne 0x435bbc
push ebx
push 0x4ab028
push 1
push esi
push 0x4ab038
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebx]
test ecx, ecx
je 0x435b9c
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x224], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
call fcn.00481017
ret
push 0x4c3ec0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.004841df
int3
Function at 0x43684c
Capabilities:
Hide graphical window

Disassembly:
push 0x44
mov eax, 0x4a2e61
call fcn.0048104e
mov ebx, ecx
push 0
call fcn.00437572
push 1
mov ecx, ebx
call fcn.00437bad
lea eax, [ebp - 0x20]
push 0x198
push eax
call fcn.004352cd
pop ecx
pop ecx
push dword [eax]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.00481004
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
lea ecx, [ebp - 0x50]
call fcn.00435bfc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00435bfc
lea esi, [ebx + 0x1e4]
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1ac]
lea edi, [ebx + 0x1b4]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], eax
call fcn.00435e75
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00435e75
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x436979
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x203], 1
jne 0x436969
lea eax, [ebp - 0x14]
push eax
call fcn.00426808
pop ecx
push dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00402e85
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00426ed9
push dword [ebp - 0x44]
push dword [ebx + 4]
call fcn.00432624
mov esi, dword [ebp - 0x10]
jmp 0x4369c3
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4369c9
mov byte [ebx + 0x203], 1
cmp dword [ebp - 0x28], esi
je 0x4369c5
cmp dword [ebp - 0x34], esi
jne 0x4369b8
lea eax, [ebp - 0x14]
push eax
call fcn.00426808
pop ecx
push dword [eax]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00402e85
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00426ed9
push dword [ebp - 0x44]
push dword [ebx + 4]
call fcn.00432624
pop ecx
pop ecx
test esi, esi
je 0x4369e2
cmp byte [ebx + 0x136], 0
jne 0x4369e2
mov ecx, ebx
mov byte [ebx + 0x135], 1
call fcn.00437a8b
jmp 0x4369ed
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00435e11
mov al, 1
call fcn.00481017
ret
Function at 0x43aa4f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x43eda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x4a34c1
call fcn.0048104e
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00402c05
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402c05
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0043bef7
mov ecx, dword [edi + 0x98]
mov dword [edi + 0x120], eax
mov ecx, dword [ecx]
mov esi, dword [ecx + eax*4]
mov dword [edi + 0x7c], eax
test byte [esi], 1
je 0x43edfd
lea eax, [edi + 0x138]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402da5
jmp 0x43ee25
cmp byte [edi + 0x11c], 0
jne 0x43ee25
lea eax, [ebp - 0x18]
push eax
call fcn.0043d646
pop ecx
test eax, eax
js 0x43ee25
cmp eax, dword [ebp - 0x14]
jae 0x43ee25
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x14], eax
mov word [ecx + eax*2], dx
mov ecx, edi
call fcn.0043dd17
test al, al
je 0x43ee3f
push str..exe
lea ecx, [ebp - 0x18]
call fcn.00403096
jmp 0x43ee7a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402da5
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00401c4c
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0041fafe
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403058
push dword [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00481004
pop ecx
lea esi, [edi + 0x110]
push 0x5c
mov ecx, esi
call fcn.00403928
push esi
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.00402b40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.00403058
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ef03
test al, 0x10
jne 0x43ef03
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402c05
push 0x4aa6b8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.004030e5
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0043eda0
push dword [ebp - 0x3c]
call fcn.00481004
push dword [ebp - 0x24]
call fcn.00481004
push dword [ebp - 0x30]
call fcn.00481004
push dword [ebp - 0x18]
call fcn.00481004
add esp, 0x10
jmp 0x43ef2a
push dword [ebp - 0x18]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x24]
call fcn.00481004
push dword [ebp - 0x30]
call fcn.00481004
push dword [ebp - 0x18]
call fcn.00481004
add esp, 0xc
call fcn.00481017
ret 4
Function at 0x4473b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.004470b1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4473d8
push 2
pop eax
jmp 0x44743c
push ebx
push edi
call fcn.004470b1
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4473f1
push 0xd
pop esi
jmp 0x447432
push edi
call fcn.004470b1
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
test ecx, ecx
je 0x4473ec
mov eax, dword [ebp + 0x14]
push 8
pop edx
cmp ecx, dword [eax]
mov dword [eax], ecx
cmova esi, edx
test esi, esi
jne 0x447432
cmp dword [ebp + 0x10], esi
jne 0x44741e
push 0x57
jmp 0x4473ee
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp + 0x10]
call fcn.00482e60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x447440
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x94
mov eax, 0x4a3f9e
call fcn.00481082
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
call fcn.004470c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00444ba1
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.00444d88
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.0040d608
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4474b4
push 2
pop esi
jmp 0x447517
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4474c7
push 0xd
pop esi
jmp 0x447510
mov eax, dword [ebp - 0x9c]
xor esi, esi
push 8
pop ecx
cmp edi, dword [eax]
mov dword [eax], edi
cmova esi, ecx
test esi, esi
jne 0x447510
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x4474eb
push 0x57
jmp 0x4474c4
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x98], edi
push 0xc
pop eax
cmovne esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x94]
call fcn.00444c7e
mov eax, esi
call fcn.0048102c
ret

Function at 0x44763c
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 0x44765f
or esi, 1
push 1
call edi
test ax, ax
jns 0x44766b
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x447677
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x447683
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x448d5b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xec]
call fcn.004451fa
mov edi, dword [ebp + 8]
test eax, eax
jle 0x448db1
push ebx
lea ecx, [esi + 0xec]
mov byte [ebp + 0xb], 0
call fcn.0040d5f9
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x448e0c
lea ecx, [esi + 0xec]
inc ebx
call fcn.004451fa
cmp ebx, eax
jl 0x448d7a
sub edi, 0x100
je 0x448e73
sub edi, 4
je 0x448e10
dec edi
sub edi, 1
jne 0x448e6a
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.0048af60
pop ecx
mov ecx, dword [esi + 0x6c]
lea edx, [ebp + 8]
push reloc.OLEAUT32.dll_VariantCopyInd
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x44a1e3
call dword [eax + 0x100]
mov esi, eax
test esi, esi
je 0x448e6a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x448e6c
cmp dword [esi + 0x70], 0
je 0x448e6a
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x84]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.0044763c
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x448e6a
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x448ec0
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x448ec0
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0xd8]
test al, al
je 0x448ec0
mov ecx, dword [esi + 0x70]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00483f63
pop ecx
pop ecx
test eax, eax
je 0x448ec0
mov ecx, dword [esi + 0x70]
call fcn.0045b2f5
test al, al
jne 0x448e6a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00449ca7
jmp 0x448e6c
Function at 0x44a60b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x44a6ba
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x44a6be
cmp dword [ebp - 0x1c], 0x10
jne 0x44a689
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x44a689
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.00449f10
pop ecx
test al, al
jne 0x44a6ab
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x44a6be
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44a656
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x44a6dc
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x44a6e1
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 0x44a713
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 0x44e788
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x44e7f5
cmp dword [esi + 0x10], 0
je 0x44e7f5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00481560
mov ebx, esp
test ebx, ebx
je 0x44e7f5
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c4
call fcn.00444d12
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044964b
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480dd2
leave
ret 0x10

Function at 0x44eef7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub esp, 0x10
lea esi, [ebp + 8]
mov edi, esp
mov ebx, ecx
mov dword [ebp - 0x38], ebx
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.004542b0
mov ecx, dword [ebx + 0x5a8]
test ecx, ecx
je 0x44efee
lea eax, [ebp - 0x14]
push eax
call fcn.0044df1e
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x44ef5e
mov ecx, dword [ebx + 0x5a8]
push 0
call fcn.004451fa
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44efee
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x44efbb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebp - 0x24]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
test eax, eax
je 0x44efae
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x44efff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
jne 0x44ef6d
mov ecx, dword [ebp - 0x38]
inc eax
shl eax, 6
or eax, 0x14
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x5a8]
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.004451fa
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.00480dd2
leave
ret 0x10
xor eax, eax
inc eax
jmp 0x44efbb
Function at 0x45c672
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x45c6dc
cmp dword [ebp + 8], 0x100
jne 0x45c6cb
cmp word [ebp + 0xc], 0xd
jne 0x45c6cb
cmp byte [esi + 0x4f2], 0
je 0x45c6b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45c6cb
cmp byte [esi + 0x4f3], 0
jne 0x45c6cb
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x45c6c7
push edi
push edi
push edi
push str.return
push esi
call fcn.0044964b
xor eax, eax
jmp 0x45c6df
mov eax, dword [esi + 0x4ec]
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 0x45caea
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4cf754]
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 0x45cba4
movzx eax, word [esi]
test ax, ax
je 0x45cba4
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x45cb2c
cmp dx, 0x5c
jne 0x45cb2e
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x45cb20
cmp edi, esi
je 0x45cb77
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0048a8dd
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45cbb2
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045caea
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0048a8bb
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0048a88a
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.00480dd2
leave
ret
call fcn.00481309
int3

Function at 0x45d1aa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x45d226
cmp dword [edi + 4], 0xffffffff
jne 0x45d226
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4a8e90
push esi
call fcn.0048a88a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45d1f8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45d1f8
mov eax, 0x2000000
jmp 0x45d22b
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045f744
add esp, 0x10
test eax, eax
jne 0x45d216
mov eax, dword [ebp - 4]
jmp 0x45d22b
push eax
call fcn.0045ff09
mov dword [edi], eax
mov eax, dword [0x4d25a0]
pop ecx
jmp 0x45d22b
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x45f744
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
cmp eax, 1
je 0x45f769
cmp eax, 2
je 0x45f769
cmp eax, 3
je 0x45f769
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x10000
xor eax, eax
leave
ret
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov byte [ebp - 8], dl
mov ecx, edx
mov dword [ebp - 4], ecx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
cmp eax, 1
jne 0x45f7c8
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 4]
push 2
push edx
push edx
push eax
call esi
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x45f7ad
mov dword [edi], 0x100
jmp 0x45f88b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, dword [ebp - 4]
dec eax
neg eax
sbb al, al
inc al
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x45f877
push edx
push 0x80
push 3
push edx
push 1
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x45f7fb
mov dword [edi], 0x200
jmp 0x45f88b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
dec eax
neg eax
push 0
push dword [ebp - 4]
sbb al, al
inc al
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x45f867
push esi
call fcn.0048725b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45f867
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, 0x800
test eax, eax
jne 0x45f84f
mov dword [edi], ecx
mov eax, ecx
jmp 0x45f851
mov eax, dword [edi]
cmp dword [ebp - 0x10], esi
je 0x45f85a
mov dword [edi], ecx
mov eax, ecx
test eax, eax
je 0x45f867
push ebx
call fcn.00487256
pop ecx
xor ebx, ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x45f87d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x45f88f
test ebx, ebx
jne 0x45f88f
mov dword [edi], 0x300
xor eax, eax
jmp 0x45f8ef
push 0x24
call fcn.00480fbd
mov esi, eax
xor edx, edx
mov eax, dword [ebp + 0x10]
pop ecx
mov dword [esi + 4], eax
cmp dword [ebp - 4], edx
je 0x45f8d3
mov ecx, dword [ebp - 8]
mov byte [esi], 1
mov byte [esi + 8], cl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], dl
mov dword [esi + 0x14], edx
test cl, cl
je 0x45f8eb
push 1
push edx
push edx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x14], eax
xor edx, edx
jmp 0x45f8eb
mov eax, dword [ebp - 0xc]
mov byte [esi], dl
mov byte [esi + 8], 1
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x14], edx
mov dword [edi], edx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret