joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447064
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x78c], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.004840d0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
mov ebx, str.UninstallString
push ebx
push str.Software360360se6Update64ClientState02E720BD_2B50_4404_947C_65DBE64F6970
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x3ff
call esi
test eax, eax
jne 0x447118
cmp ax, word [ebp - 0x74]
je 0x447118
push str.......
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360se.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447118
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
jne 0x447137
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push edi
call esi
test eax, eax
jne 0x44713e
cmp ax, word [ebp - 0x74]
je 0x44713e
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x78c]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004841c7
add ebp, 0x790
leave
ret

Function at 0x44717a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push esi
push 0x100
xor esi, esi
lea eax, [ebp - 0x74]
push 0
inc esi
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], 0x80
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x80], esi
jne 0x447226
cmp word [ebp - 0x74], 0
je 0x447226
cmp dword [ebp - 0x78], 0
jbe 0x447226
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040b680
push str.360safe.exe
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x447217
xor esi, esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, esi
jmp 0x447228
xor eax, eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop esi
call fcn.004841c7
add ebp, 0x90
leave
ret
Function at 0x44f648
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x44f695
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x44f697
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004841c7
add ebp, 0x98
leave
ret

Function at 0x4519db
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x4b85d8
call fcn.00484f9f
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [esi + 0x56]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x451a05
push 3
jmp 0x451a0c
cmp dword [esi + 0x7a], edi
je 0x451a0f
push 2
pop ebx
jmp 0x451a17
xor ebx, ebx
cmp dword [esi + 0x7e], edi
setne bl
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x56]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push dword [esi + 0xb8]
lea eax, [esi + 0x86]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0045185e
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
mov ebx, 0x80
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040cf00
push ebx
push eax
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x451a93
mov eax, dword [esi + 0xd0]
cmp dword [eax - 0xc], edi
je 0x451b01
cmp dword [esi + 0xd4], edi
jne 0x451ace
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push 0xff
push 1
push edi
push edi
test eax, eax
push 1
lea eax, [ebp - 0x24]
je 0x451ac7
push dword [esi + 0x3e]
push eax
push dword [esi + 0x3a]
add esi, 0x36
push esi
lea eax, [ebp - 0x10]
push eax
jmp 0x451af6
push 0xc7c7c7
jmp 0x451ab9
sub dword [ebp - 0x24], 3
sub dword [ebp - 0x1c], 3
push 0xff
push 1
push edi
push edi
push 1
push dword [esi + 0x3e]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x3a]
lea eax, [esi + 0x36]
push eax
add esi, 0xd0
push esi
push dword [ebp + 8]
call fcn.0046f15f
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00485077
ret 4
Function at 0x451b14
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b8603
call fcn.00484f9f
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea edi, [ebx + 0x9f]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00469d15
test al, al
je 0x451c99
push esi
push esi
push 0xf0
push dword [ebx + 0x56]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x7a], esi
je 0x451b60
lea eax, [eax*4 + 2]
jmp 0x451b71
cmp dword [ebx + 0x7e], esi
je 0x451b6e
lea eax, [eax*4 + 1]
jmp 0x451b71
shl eax, 2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x56]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.00469d31
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
push dword [ebx + 0xb8]
sub esi, eax
mov eax, esi
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
sar eax, 1
movsd dword es:[edi], dword [esi]
sub dword [ebp - 0x34], eax
add ecx, eax
lea esi, [ebx + 0x9f]
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, ebx
call fcn.0045185e
mov ecx, esi
call fcn.00469d2d
cdq
idiv dword [ebx + 0xb8]
xor esi, esi
push esi
neg eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
push 0x64
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040cf00
push 0x64
push eax
push dword [ebx + 0x56]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x3a]
lea edi, [ebx + 0x36]
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.0046f2aa
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x1c]
add dword [ebp - 0x30], 3
mov ecx, dword [ebp - 0x30]
push 0xff
cdq
push 1
sub eax, edx
sar eax, 1
add dword [ebp - 0x2c], eax
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push esi
push esi
push esi
push dword [ebx + 0x3e]
add eax, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x3a]
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp + 8]
call fcn.0046f15f
mov ecx, dword [ebp - 0x10]
add esp, 0x50
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00485077
ret 4
Function at 0x451ca1
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b862e
call fcn.00484f9f
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
xor edi, edi
push 0x4ecda4
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.0040ba90
push 0x64
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0040cf00
push 0x64
push eax
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041d302
push 1
push edi
push edi
push edi
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0x3a]
lea eax, [esi + 0x36]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
push ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0046f2aa
add esp, 0x24
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push dword [esi + 0x56]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sar ecx, 1
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x20]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
sar eax, 1
add ecx, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x3e]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x451d78
mov dword [ebp - 0x10], 0xc7c7c7
cmp dword [esi + 0x7a], edi
je 0x451d8b
push 1
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0xff
push 1
push dword [esi + 0x46]
lea eax, [ebp - 0x40]
push dword [esi + 0x42]
push edi
push dword [ebp - 0x10]
push eax
push dword [esi + 0x3a]
lea eax, [ebp + 8]
push dword [ebp - 0x14]
push eax
push ebx
call fcn.0046f15f
mov ecx, dword [ebp + 8]
add esp, 0x2c
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00485077
ret 4
Function at 0x451dc6
Capabilities:
Get graphical window text

Disassembly:
push 0x1c
mov eax, 0x4b8651
call fcn.00484f9f
mov esi, ecx
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
xor edi, edi
push 0x64
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040cf00
push 0x64
push eax
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x56]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x3a]
lea eax, [esi + 0x36]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0046f2aa
add esp, 0x24
cmp dword [esi + 0xbc], 1
jne 0x451e6b
lea ecx, [esi + 0x9f]
call fcn.00469d2d
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 2]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], edi
je 0x451e75
mov ecx, dword [ebp - 0x14]
jmp 0x451e7b
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp dword [ebp + 8], edi
je 0x451e85
mov eax, dword [ebp - 0x18]
jmp 0x451e8b
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 6
push ecx
push eax
push edi
push edi
push edi
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00485077
ret 8

Function at 0x451eae
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x4b8674
call fcn.00484f9f
mov esi, ecx
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebx, ebx
test eax, eax
jne 0x451ecf
push 3
jmp 0x451ed6
cmp dword [esi + 0x7a], ebx
je 0x451ed9
push 2
pop edi
jmp 0x451ee3
xor eax, eax
cmp dword [esi + 0x7e], ebx
setne al
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x56]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
push dword [esi + 0xb8]
lea eax, [esi + 0x86]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00451627
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
mov edi, 0x80
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040cf00
push edi
push eax
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x451f7d
push 0xff
push 1
push ebx
push ebx
push 1
push 0x424242
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x3a]
add esi, 0x36
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.0046f15f
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00485077
ret 4
Function at 0x45348f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x4534ed
fld dword [esi + 0x2c]
fsub qword [0x4c4c88]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [esi + 0x2c]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x4534c0
call fcn.0045328c
jmp 0x4534ed
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4534ed
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4

Function at 0x454739
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov dword [ebp - 0x218], edi
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
push eax
call fcn.004848a7
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
mov ebx, 0x465
test eax, eax
jne 0x4547ab
push 0
push 0
push ebx
push edi
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.004848a7
pop ecx
cmp eax, 2
jb 0x454804
cmp word [ebp - 0x212], 0x3a
jne 0x454804
xor eax, eax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [ebp - 0x214]
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x454804
push 0
push 0
push ebx
push dword [ebp - 0x218]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004841c7
leave
ret

Function at 0x455003
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x455027
xor eax, eax
jmp 0x455095
cmp eax, 0x104
jg 0x455023
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2710
push 0x4c2188
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x414], 0
je 0x455023
lea eax, [ebp - 0x414]
push 0x4c2184
push eax
call fcn.0048a8de
pop ecx
pop ecx
test eax, eax
je 0x455023
push eax
call fcn.0048a79c
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004841c7
leave
ret 4
Function at 0x45559d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x4555ad
lea esi, [ecx - 0x9a]
jmp 0x4555af
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x4555e3
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4555d4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4555e9
cmp dword [ebp + 0xc], 0
jne 0x4555e3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x455601
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.004550f3
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4558c6
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c20c8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c20cc]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor esi, esi
cmp eax, 3
je 0x45590e
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x45594f
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45593b
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x455941
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x455963
jb 0x45594f
cmp ecx, 0x400
jae 0x455963
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a37
push edi
cmp eax, esi
ja 0x4559f0
jb 0x455976
cmp ecx, 0x100000
jae 0x4559ac
push esi
mov edi, ecx
push 0x64
shrd edi, eax, 0xa
and ecx, 0x3ff
push esi
shr eax, 0xa
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x4559a0
push edi
push str._d_KB
jmp 0x455a1b
push eax
push edi
push str._d._d_KB
jmp 0x455a2d
cmp eax, esi
ja 0x4559f0
jb 0x4559ba
cmp ecx, 0x40000000
jae 0x4559f0
push esi
mov edi, ecx
push 0x19000
shrd edi, eax, 0x14
and ecx, 0xfffff
push esi
shr eax, 0x14
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x4559e7
push edi
push 0x4c2104
jmp 0x455a1b
push eax
push edi
push str._d._d_MB
jmp 0x455a2d
push esi
mov edi, ecx
push 0x6400000
shrd edi, eax, 0x1e
and ecx, 0x3fffffff
push esi
shr eax, 0x1e
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x455a26
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a36
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cbb1
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004841c7
leave
ret 8
Function at 0x455ee6
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4b8d60
call fcn.00485008
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x455f09
push 2
pop eax
jmp 0x4560a8
cmp ecx, 0x80
jle 0x455f15
push 8
jmp 0x455f03
cmp ecx, 3
jge 0x455f22
xor eax, eax
inc eax
jmp 0x4560a8
cmp ecx, 1
jge 0x455f31
push 0x80070057
call fcn.0040dfb0
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x455f4a
cmp ecx, 2
jl 0x455f27
movzx eax, word [eax + 4]
cmp ax, 0x5c
jne 0x455f1a
xor edi, edi
test ecx, ecx
jle 0x455f98
push edi
mov ecx, esi
call fcn.0042e1e4
movzx eax, ax
cmp ax, 0x3a
jne 0x455f66
cmp edi, 1
jne 0x455fc0
cmp ax, 0x2a
je 0x455fc0
cmp ax, 0x3f
je 0x455fc0
cmp ax, 0x22
je 0x455fc0
cmp ax, 0x3c
je 0x455fc0
cmp ax, 0x3e
je 0x455fc0
cmp ax, 0x7c
je 0x455fc0
cmp ax, 0x2f
je 0x455fc0
mov eax, dword [esi]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x455f50
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
xor edi, edi
inc edi
cmp ecx, 4
jge 0x455fc7
cmp ecx, edi
jle 0x455fb9
jl 0x455f27
movzx edx, word [eax + 2]
cmp dx, 0x3a
je 0x455fc7
mov eax, edi
jmp 0x4560a8
push 7
jmp 0x455f03
cmp ecx, 2
jl 0x455fde
cmp ecx, edi
jl 0x455f27
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x455fb9
cmp ecx, edi
jle 0x45601b
mov ecx, dword [0x4c2244]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4c2248]
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], 0
jl 0x455f27
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x45601b
push 9
jmp 0x455f03
lea ecx, [ebp - 0x38]
call fcn.0042ec63
push dword [esi]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45606e
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.004198bb
lea ecx, [ebp - 0x38]
call fcn.0042f2d3
test eax, eax
je 0x456080
cmp eax, 0x50
je 0x45606e
cmp eax, 0xb7
je 0x45606e
push 5
pop esi
cmp eax, esi
jne 0x45606a
lea ecx, [ebp - 0x38]
call fcn.0042f27d
mov eax, esi
jmp 0x4560a8
mov esi, edi
jmp 0x45605e
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.00455003
test eax, eax
jne 0x456080
push 5
pop esi
jmp 0x45605e
mov eax, dword [0x4ec6b0]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.004686bf
add esp, 0xc
test eax, eax
jne 0x45609e
push 3
jmp 0x45607d
lea ecx, [ebp - 0x38]
call fcn.0042f27d
xor eax, eax
call fcn.0048508b
ret 4
Function at 0x45612e
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4b8db8
call fcn.00484f9f
mov edi, ecx
push 0x3ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x45618e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004841c7
add ebp, 0x804
leave
ret
push 0x400
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, 0x4ecda4
push esi
lea ecx, [ebp - 0x10]
call fcn.0040ba90
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
lea ecx, [ebp - 0x10]
call fcn.00446392
lea ecx, [ebp - 0x10]
call fcn.004463db
push esi
lea ecx, [ebp - 0x14]
call fcn.0040ba90
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040cf00
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.004560b0
test eax, eax
jne 0x456243
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], eax
je 0x456212
push 0x40
push 0x96
push esi
push dword [edi + 4]
call fcn.004503e7
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
call fcn.0045483c
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
jmp 0x45616b
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4ec63c
call fcn.0041cb3f
mov esi, dword [ebp - 0x14]
xor edi, edi
inc edi
jmp 0x456229