joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ff52
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x230
mov eax, 0x49681d
call fcn.0045d7db
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x234], eax
call fcn.00401afb
push eax
lea ecx, [ebp - 0x21c]
call fcn.004026a6
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.004752c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401dff
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401dff
mov esi, dword [ebp - 0x21c]
push 0x2e
push esi
call fcn.0047832b
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test eax, eax
je 0x440044
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x440044
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402b04
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call fcn.004016b7
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00401dbc
mov esi, dword [ebp - 0x21c]
call fcn.00401afb
push eax
lea ecx, [ebp - 0x230]
call fcn.004026a6
movsd xmm0, qword [0x49ea08]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
movsd qword [ebp - 0x23c], xmm0
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.0043f63b
mov edi, dword [ebp - 0x230]
test eax, eax
je 0x440166
push 0
push 0x80
push 3
push 0
push ebx
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x440166
and dword [ebp - 0x22c], 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x44015d
and dword [ebp - 0x224], 0
lea ecx, [eax + 0xa]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.00402c2d
push 0
lea ecx, [ebp - 0x224]
push ecx
push dword [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x440150
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x224], eax
jne 0x440150
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x440138
movsd xmm0, qword [ebp - 0x23c]
movsd qword [ecx], xmm0
mov ecx, dword [ebp - 0x228]
push eax
call fcn.00403a69
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x440168
mov ecx, dword [ebp - 0x228]
push 0
call fcn.00402d6c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44016e
xor eax, eax
mov dword [ebp - 0x22c], eax
lea ecx, [edi - 0x10]
call fcn.00401dbc
lea ecx, [esi - 0x10]
call fcn.00401dbc
mov eax, dword [ebp - 0x22c]
call fcn.0045d785
ret 0x10
Function at 0x441b47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x49695c
call fcn.0045d849
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x441bc4
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x441bc4
call fcn.004412c0
mov esi, eax
jmp 0x441c9b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x441be7
call fcn.004412c0
jmp 0x441c8e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x441bdd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x441c17
mov esi, 0x8007000e
jmp 0x441c90
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0044111a
jmp 0x441c3d
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x441c10
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x441bdd
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00441a0c
mov esi, eax
test edi, edi
je 0x441c9b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x441cb4
lea ecx, [ebp - 0x418]
call fcn.00441454
mov eax, esi
call fcn.0045d796
ret 0x10
Function at 0x44480b
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x496e69
call fcn.0045d7db
mov edi, ecx
mov ebx, dword [ebp + 0x10]
lea ecx, [edi - 0x80]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], ebx
mov dword [edi + 0x90], esi
call fcn.00442fb0
test al, al
jne 0x444a33
test esi, esi
jne 0x444866
push ebx
lea ecx, [ebp - 0x28]
call fcn.004026cf
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
lea ecx, [edi + 0x34]
call fcn.0043681c
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00403013
xor eax, eax
jmp 0x444a36
cmp esi, 9
je 0x444a2c
push 7
pop eax
cmp esi, eax
jne 0x4448b6
mov dword [ebp - 0x14], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
push 0x4a0d40
mov word [ebp - 0x28], ax
call fcn.0047a35c
pop ecx
push eax
push 0x4a0d40
lea ecx, [ebp - 0x28]
call fcn.00403126
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004026cf
mov byte [ebp - 4], 2
jmp 0x4449fa
cmp esi, 3
jne 0x4448fb
mov dword [ebp - 0x14], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
push 0x4a0d54
mov word [ebp - 0x28], ax
call fcn.0047a35c
pop ecx
push eax
push 0x4a0d54
lea ecx, [ebp - 0x28]
call fcn.00403126
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.004026cf
mov byte [ebp - 4], 4
jmp 0x4449fa
cmp esi, 2
je 0x444978
cmp esi, 8
je 0x444978
cmp esi, 6
je 0x44485f
mov dword [ebp - 0x44], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x48], esi
push 0x4a0d84
mov word [ebp - 0x58], ax
call fcn.0047a35c
pop ecx
push eax
push 0x4a0d84
lea ecx, [ebp - 0x58]
call fcn.00403126
push ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 7
call fcn.004026cf
push 2
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [edi + 0x98]
push eax
push 2
lea ecx, [edi - 0x80]
call fcn.0044306e
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.00403013
lea ecx, [ebp - 0x58]
jmp 0x444a24
lea eax, [edi + 0x98]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00436493
pop ecx
pop ecx
push 0x4a0d7c
mov ecx, eax
call fcn.00444f54
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
xor esi, esi
push esi
push 1
call fcn.00403013
add bl, 1
je 0x4449bd
mov ebx, dword [ebp - 0x74]
mov dword [edi + 0x90], 9
jmp 0x444a2c
xor eax, eax
mov dword [ebp - 0x14], 7
mov ebx, 0x4a0d54
mov dword [ebp - 0x18], esi
push ebx
mov word [ebp - 0x28], ax
call fcn.0047a35c
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403126
mov ebx, dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 4], 5
call fcn.004026cf
mov byte [ebp - 4], 6
push 2
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [edi + 0x98]
push eax
push 2
lea ecx, [edi - 0x80]
call fcn.0044306e
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00403013
lea ecx, [ebp - 0x28]
push esi
push 1
call fcn.00403013
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
call fcn.0045d785
ret 0xc
Function at 0x447547
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x49643d
call fcn.0045d7a7
mov ebx, ecx
call fcn.00401afb
push eax
lea ecx, [ebp - 0x10]
call fcn.004026a6
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x44]
call fcn.00446e07
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x447587
push 0
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi - 0x10]
call fcn.00401dbc
call fcn.0045d770
ret

Function at 0x4482a4
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x49742c
call fcn.0045d7a7
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.004088aa
lea edi, [ebx + 0x128]
xor ecx, ecx
mov dword [edi], vtable.IProcessMsgBack.0
mov dword [ebx], vtable.CBkListWnd.0
mov dword [ebx + 4], vtable.CBkListWnd.1.0
mov dword [edi], vtable.CBkListWnd.2.0
mov dword [ebp - 4], ecx
mov dword [ebx + 0x130], ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
lea esi, [ebx + 0x19c]
mov dword [ebx + 0x150], ecx
mov dword [ebx + 0x154], ecx
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], ecx
mov dword [ebx + 0x160], ecx
mov dword [ebx + 0x164], ecx
mov dword [ebx + 0x168], ecx
mov dword [ebx + 0x16c], ecx
mov dword [ebx + 0x170], ecx
mov dword [ebx + 0x174], ecx
mov dword [ebx + 0x194], ecx
mov dword [ebx + 0x198], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov dword [esi], vtable.CBkMsgWnd.0
mov dword [esi + 0x24], ecx
push str.listscrollbar
lea ecx, [ebx + 0x1c4]
mov byte [ebp - 4], 2
call fcn.00403345
xor ecx, ecx
or dword [ebx + 0x144], 0xffffffff
push ecx
push ecx
xor eax, eax
mov dword [ebx + 0x1cc], ecx
inc eax
mov dword [ebx + 0x1c8], ecx
mov dword [ebx + 0x178], eax
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], eax
mov eax, esp
push ecx
push ecx
push str.bkmsgwnd
mov dword [ebx + 0x1d0], ecx
mov dword [ebx + 0x1d8], ecx
mov dword [ebx + 0x13c], ecx
mov dword [ebx + 0x140], ecx
mov dword [ebx + 0x1d4], ecx
mov dword [ebx + 0x184], ecx
mov dword [ebx + 0x18c], ecx
mov dword [ebx + 0x190], ecx
mov dword [ebx + 0x1dc], ecx
mov dword [ebx + 0x1e0], ecx
mov dword [ebx + 0x134], ecx
mov dword [ebx + 0x138], ecx
push ecx
mov dword [eax], ecx
mov eax, esp
push ecx
mov byte [ebp - 4], 3
mov dword [eax], ecx
mov ecx, esi
call fcn.0044a315
push 0
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [ebx + 0x148], 0xffffffff
or dword [ebx + 0x14c], 0xffffffff
and dword [ebx + 0x12c], 0
mov dword [ebx + 0x1c0], edi
mov dword [ebx + 0x188], 1
mov eax, ebx
call fcn.0045d770
ret
Function at 0x44ca00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0
mov ebx, ecx
call fcn.0040c173
pop ecx
pop ecx
push 2
lea ecx, [ebx + 0x24]
mov edi, eax
call fcn.0043d3b0
push eax
push 2
lea ecx, [ebx + 0x24]
call fcn.0043d3b0
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00447aa3
push 0xffffff
mov ecx, esi
call fcn.00447a37
xor ecx, ecx
push ecx
push ecx
mov eax, esp
push ecx
push 0x40000000
push ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, esi
push dword [ebx + 4]
call fcn.0044a364
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov ecx, esi
call fcn.00447a63
push 0x186a0
mov ecx, esi
call fcn.00447a89
push dword [ebx + 4]
mov ecx, esi
call fcn.00447aee
mov edi, 0x444444
mov ecx, esi
push edi
call fcn.00447a4d
push edi
mov ecx, esi
call fcn.00447b8e
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00447b82
push ecx
mov ecx, esp
push dword [ebp + 0xc]
call fcn.00401616
mov ecx, esi
call fcn.00447abc
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00447b3c
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x44e55f
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00457bd5
and dword [esi + 0x51c], 0
pop esi
ret
Function at 0x44f1bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x3cc], ebx
je 0x44f1ef
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x3cc], ebx
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x44f233
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x44f233
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x3b8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44f376
push edi
push eax
call fcn.0040ca52
mov edi, eax
pop ecx
test edi, edi
je 0x44f2a9
mov eax, dword [edi + 0x14]
xor edx, edx
push 2
push edx
push edi
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.00459d61
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0040aacc
cmp dword [esi + 0x3b8], ebx
jne 0x44f2ff
mov eax, dword [edi + 0x44]
xor ecx, ecx
test eax, eax
je 0x44f2f2
cmp word [eax], cx
je 0x44f2f2
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, eax
xor edx, edx
mov dword [esi + 0x3b8], edx
test eax, eax
je 0x44f334
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov dword [ebp - 0x1c], 1
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44f375
cmp dword [edi + 0x14], ecx
je 0x44f2a9
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x44f2ae
push 1
xor eax, eax
mov ecx, esi
push eax
push edi
call fcn.00459d61
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0040aacc
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x44f2ae
test ecx, ecx
je 0x44f375
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x44f375
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x3b4]
jne 0x44f375
xor eax, eax
mov dword [esi + 0x3b4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44f37e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
sub edx, dword [edi + 0x1c]
sub esi, dword [edi + 0x18]
mov eax, dword [edi]
push edx
push esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
call dword [eax + 0x74]
mov ebx, dword [edi + 0x144]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x44f49b
push ebx
call fcn.0040ca52
mov esi, eax
pop ecx
test esi, esi
je 0x44f426
mov eax, dword [esi + 0x14]
mov ecx, edi
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.00459dc5
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.0040aacc
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x144], eax
jne 0x44f448
mov eax, dword [esi + 0x44]
xor ecx, ecx
test eax, eax
je 0x44f43b
cmp word [eax], cx
je 0x44f43b
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, eax
xor edx, edx
mov dword [edi + 0x144], edx
test eax, eax
je 0x44f47a
push 0x67
jmp 0x44f493
cmp dword [esi + 0x14], ecx
je 0x44f426
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x44f42b
push 1
xor eax, eax
mov ecx, edi
push eax
push esi
call fcn.00459dc5
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x2a3
call fcn.0040aacc
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x44f42b
test ecx, ecx
je 0x44f49b
cmp dword [ebp - 0xc], edx
je 0x44f49b
cmp ebx, dword [edi + 0x140]
jne 0x44f491
mov dword [edi + 0x140], edx
push 0x6a
push esi
mov ecx, edi
call fcn.00455f9a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452a25
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x452a74
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x150]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x452a74
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x278]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov esi, eax
xor ebx, ebx
cmp dword [edi + 0x3bc], ebx
je 0x452aec
cmp dword [edi + 0x3cc], ebx
je 0x452a92
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x3cc], ebx
cmp dword [edi + 0x3bc], esi
jne 0x452ae6
push esi
call fcn.0040ca52
movzx edx, word [ebp + 0x10]
mov esi, eax
pop ecx
movzx ecx, word [ebp + 0xc]
shl edx, 0x10
or edx, ecx
mov ecx, esi
push edx
push dword [ebp + 8]
push 0x205
call fcn.0040aacc
mov ecx, dword [edi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x4e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x3bc], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4535aa
Capabilities:
Print debug messages

Disassembly:
push 0x18
mov eax, 0x497c99
call fcn.0045d7db
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401616
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push str.__02d__02d__02d__03d__n
push eax
call fcn.00404ef9
add esp, 0x18
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401dbc
call fcn.0045d785
ret 4
Function at 0x45ab18
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x4981f9
call fcn.0045d7db
mov ebx, ecx
mov dword [ebp - 0x234], ebx
mov al, byte [ebp + 8]
xor edx, edx
mov byte [ebx], al
lea eax, [ebx + 4]
push 7
pop esi
mov dword [ebp - 0x238], ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], edx
cmp esi, 8
jb 0x45ab4f
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], edx
lea edi, [ebx + 0x1c]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], edx
cmp esi, 8
jb 0x45ab69
mov eax, dword [edi]
jmp 0x45ab6b
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea esi, [ebx + 0x34]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edx
cmp dword [esi + 0x14], 8
jb 0x45ab87
mov eax, dword [esi]
jmp 0x45ab89
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x208
push edx
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov dword [ebx + 0x4c], edx
mov dword [ebp - 0x234], edx
call fcn.004752c0
lea eax, [ebp - 0x230]
push eax
call fcn.0043667f
add esp, 0x10
lea ecx, [ebx + 4]
push eax
call fcn.0040443f
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00403013
lea eax, [ebp - 0x234]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x234], 0
je 0x45ac6d
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
jne 0x45ac6d
cmp word [ebp - 0x218], 0
jne 0x45ac14
xor eax, eax
jmp 0x45ac21
lea eax, [ebp - 0x218]
push eax
call fcn.0047a35c
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00403126
cmp dword [edi + 0x14], 8
mov ecx, dword [ebx + 0x2c]
jb 0x45ac3d
mov eax, dword [edi]
jmp 0x45ac3f
mov eax, edi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45ac61
push 0x49a8b4
call fcn.0047a35c
pop ecx
push eax
push 0x49a8b4
mov ecx, edi
call fcn.004047c2
push dword [ebp - 0x234]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x234]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x234], 0
je 0x45ad03
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
jne 0x45ad03
cmp word [ebp - 0x218], 0
jne 0x45acad
xor eax, eax
jmp 0x45acba
lea eax, [ebp - 0x218]
push eax
call fcn.0047a35c
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403126
cmp dword [esi + 0x14], 8
mov ecx, dword [ebx + 0x44]
jb 0x45acd6
mov eax, dword [esi]
jmp 0x45acd8
mov eax, esi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45acf7
mov edi, 0x49a8b4
push edi
call fcn.0047a35c
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004047c2
push dword [ebp - 0x234]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esi, [ebx + 0x4c]
push esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jns 0x45ad14
and dword [esi], 0
mov eax, ebx
call fcn.0045d785
ret 4
Function at 0x45adf5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x45ae07
mov eax, dword [edi]
jmp 0x45ae09
mov eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
test al, 0x10
je 0x45af0f
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x45ae28
mov ecx, dword [esi]
jmp 0x45ae2a
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x45ae34
mov eax, dword [edi]
jmp 0x45ae36
mov eax, edi
push dword [edi + 0x10]
push ecx
push eax
call fcn.00482c24
add esp, 0xc
test eax, eax
jne 0x45af0e
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x45ae56
mov edi, dword [edi]
push 0x5c
pop ecx
cmp cx, word [edi + eax*2 - 2]
je 0x45ae61
inc eax
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jae 0x45af0e
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x45ae78
mov edx, dword [esi]
jmp 0x45ae7a
mov edx, esi
push 0x5c
pop ebx
cmp bx, word [edx + eax*2 - 2]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jne 0x45af0e
cmp dword [esi + 0x14], edi
jb 0x45ae97
mov edx, dword [esi]
jmp 0x45ae99
mov edx, esi
cmp word [edx + eax*2], 0
je 0x45aeca
cmp dword [esi + 0x14], edi
jb 0x45aea9
mov edx, dword [esi]
jmp 0x45aeab
mov edx, esi
push 0x5c
pop ebx
cmp word [edx + eax*2], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x45aebd
inc eax
jmp 0x45ae8e
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
mov ecx, esi
call fcn.004031ee
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], edi
jb 0x45aed6
mov eax, dword [esi]
jmp 0x45aed8
mov eax, esi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45af0e
cmp dword [esi + 0x14], edi
jb 0x45aeeb
mov eax, dword [esi]
jmp 0x45aeed
mov eax, esi
push eax
call ebx
cmp eax, 0xffffffff
je 0x45af0e
test al, 0x10
je 0x45af0e
mov edi, 0x49a8b4
push edi
call fcn.0047a35c
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004047c2
pop esi
pop edi
pop ebx
pop ebp
ret 8