joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c911
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4a64be
call fcn.0046c6ac
sub esp, 0x11c
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.00483d0b
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.0045d2bd
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x47c9a2
mov edi, 0x114
push edi
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.0046c9c0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], edi
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [ebp - 0x118], 2
jne 0x47c99b
cmp dword [ebp - 0x124], 5
mov dword [ebp + 0x20], 0x58
jae 0x47c9a2
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0046baa3
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x47c9b7
call fcn.0047c3d9
push dword [ebp + 0x20]
push ebx
push dword [esi + 0x70]
call fcn.0046c9c0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x304], ebx
lea ecx, [esi + 0x7c]
mov word [ecx], bx
lea edi, [esi + 0xfc]
mov word [edi], bx
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x47ca38
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00498d33
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x47cc03
je 0x47ca64
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x47ca9d
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.0045c52a
push ebx
mov ecx, edi
call fcn.0045c390
jmp 0x47ca86
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0046add9
cmp eax, ebx
pop ecx
pop ecx
jne 0x47ca80
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0046c69e
leave
ret 0x1c
Function at 0x4818ba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4818f4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045d2d1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045d294
pop esi
ret 4
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x482bec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x482c2f
call fcn.00498d33
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x482c2f
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x482c4a
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00481d6f
test ebx, ebx
mov esi, eax
je 0x482c48
test edi, edi
je 0x482c48
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x482d93
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4a8084
mov ecx, edi
call fcn.0045c52a
cmp dword [esi + 0x48], 0
push dword [esp + 0xc]
jne 0x482de6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x482df9
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0045d2d1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045d294
jmp 0x482df9
mov ecx, esi
call fcn.00482f0d
test eax, eax
je 0x482df9
push edi
mov ecx, eax
call fcn.004818ba
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x483641
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a5502
call fcn.0046c6ac
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x483666
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4836b2
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402860
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4840b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4840e7
call fcn.00498d33
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4840f8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x484131
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x484116
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x48411e
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x48412f
test ax, ax
jne 0x48412f
test si, si
je 0x484131
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x484140
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x484392
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a557c
call fcn.0046c6ac
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00498d33
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x4843e0
call fcn.00498d33
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4843f1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4843fd
or eax, 0xffffffff
jmp 0x484500
mov ecx, esi
call fcn.00483eda
mov dword [ebp - 0x14], eax
call fcn.00480bfe
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x484440
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x484440
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x484440
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.0048227f
push dword [ebp - 0x14]
call fcn.00480b56
push edi
push eax
push ebx
mov ecx, esi
call fcn.00484185
xor ebx, ebx
cmp eax, ebx
je 0x4844b4
test byte [esi + 0x38], 0x10
je 0x484482
push 4
pop edi
mov ecx, esi
call fcn.00483021
test ah, 1
je 0x48447a
push 5
pop edi
push edi
mov ecx, esi
call fcn.004805fa
cmp dword [esi + 0x1c], ebx
je 0x4844b4
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0048329a
jmp 0x4844b4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4844c8
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4844e1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4844e1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00483f14
cmp dword [esi + 0x54], ebx
je 0x4844fd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x48453a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00498d33
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x484571
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00484185
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4845c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x54], ebx
jne 0x4845e9
cmp dword [edi + 0x50], 0
jne 0x4845e9
movzx eax, bx
mov dword [edi + 0x50], eax
call fcn.00498d33
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00484590
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x485066
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 8]
push eax
push 0x4a78c0
xor ebx, ebx
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x485111
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x48510b
lea eax, [ebp + 8]
push eax
push 0x4b3948
push dword [ebp - 4]
mov dword [ebp + 8], ebx
call esi
test eax, eax
jne 0x485106
mov ecx, dword [ebp + 0xc]
push 0x104
call fcn.0045c390
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x4a8084
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov esi, eax
call fcn.0045d294
push dword [ebp + 8]
xor eax, eax
cmp esi, ebx
sete al
mov ebx, eax
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 8]
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x48515b
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a5a7a
call fcn.0046c6ac
sub esp, 0x25c
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
jne 0x4851a5
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
xor eax, eax
jmp 0x48523a
push ebx
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.00485119
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x48522c
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x48522f
test byte [ebp + 8], 2
jne 0x4851fa
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
test byte [ebp + 8], 4
jne 0x48522c
lea eax, [ebp - 0x268]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x48522c
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
xor esi, esi
inc esi
lea ecx, [ebx - 0x10]
call fcn.00402860
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.0046c69e
leave
ret 8
Function at 0x48559a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push esi
push edi
mov dword [ebp - 4], eax
call dword [0x4cd0e0]
mov edi, dword [ebp + 0x10]
push 0x800
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
xor esi, esi
push esi
push dword [ebp + 0xc]
mov word [edi], si
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x485680
test byte [ebp - 0x2b6], 1
je 0x485680
lea eax, [ebp - 8]
push eax
push 0x4b38cc
push esi
push 0x4b38dc
lea ecx, [ebp + 0xc]
call fcn.00485558
test eax, eax
jl 0x485680
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x4bddb0
push eax
call dword [ecx]
test eax, eax
jl 0x485673
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x48566a
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x48563a
xor eax, eax
jmp 0x48563d
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 2
push eax
push ecx
call dword [edx + 0x4c]
test eax, eax
jl 0x48566a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push esi
push dword [ebp + 0x14]
push edi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
inc esi
jmp 0x485673
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x485682
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.0046c69e
leave
ret 0x10
Function at 0x48664f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.0046c9c0
add esp, 0xc
call fcn.00498d23
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x48671f
cmp dword [ebp - 8], ebx
je 0x48671a
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x486521
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0046d211
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x486729
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x4866f2
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x48670c
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x486724
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
xor eax, eax
inc eax
jmp 0x48672b
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x486729
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x486732
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4a5d9a
call fcn.0046c6ac
push ecx
push esi
push 0x40
call fcn.00483bc7
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor esi, esi
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x486761
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049a5fa
mov esi, eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
or eax, 4
push eax
mov ecx, esi
call fcn.0048664f
test eax, eax
jne 0x486788
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
xor eax, eax
jmp 0x4867a5
push dword [ebp + 0x10]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
test byte [ebp + 0x18], 4
jne 0x4867a3
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x487297
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x22c
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0046c9c0
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
mov eax, dword [edi + 4]
cmp eax, dword [0x4b38c8]
je 0x48739e
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
test eax, eax
je 0x487307
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x48730e
cmp ebx, ebx
jne 0x48730e
xor eax, eax
jmp 0x4873a1
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x48731b
mov byte [esi + 0x20], bl
jmp 0x48732f
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045d701
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045d701
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045d701
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x48738a
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x48739e
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x48b9bd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x48ba0f
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x48ba0f
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x48ba1b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0046c69e
leave
ret 8
Function at 0x48d61d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0048d606
cmp dword [esi], 0
mov ebx, eax
je 0x48d689
push edi
mov edi, dword [ebp + 0x18]
push 0x40
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push eax
call fcn.0046ad5e
add esp, 0xc
cmp eax, 1
pop edi
je 0x48d6ac
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.00491c1d
mov ecx, esi
call fcn.0048d474
jmp 0x48d6ac
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push eax
call fcn.0046a116
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.0048b9bd
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.0046c69e
leave
ret

Function at 0x48d845
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x4ceed0]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0048d606
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00482f31
cmp dword [esi], 0
lea eax, [ebp - 0x324]
je 0x48d8d9
push 0x190
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x324]
push 0x4a8450
push eax
call fcn.0046ad5e
add esp, 0xc
cmp eax, 1
je 0x48d8c2
push 0xffffffffffffffff
push 0
push 0xf111
call fcn.00491c1d
mov ecx, esi
call fcn.0048d474
cmp dword [ebp + 0x1c], 6
mov eax, dword [ebp + 0x10]
jne 0x48d8d2
fld qword [ebp + 0x14]
fstp dword [eax]
jmp 0x48d901
fld qword [ebp + 0x14]
fstp qword [eax]
jmp 0x48d901
fld qword [ebp + 0x14]
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0x1c]
push str._.g
push eax
call fcn.0046c705
add esp, 0x14
lea eax, [ebp - 0x324]
push eax
push dword [ebp + 8]
call fcn.0048b9bd
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0046c69e
leave
ret 0x18