joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4470cc
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.00484550
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 0x447180
cmp ax, word [ebp - 0x74]
je 0x447180
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 0x447180
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
jne 0x44719f
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 0x4471a6
cmp ax, word [ebp - 0x74]
je 0x4471a6
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.00484647
add ebp, 0x790
leave
ret

Function at 0x4471e2
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.00484550
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 0x44728e
cmp word [ebp - 0x74], 0
je 0x44728e
cmp dword [ebp - 0x78], 0
jbe 0x44728e
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 0x44727f
xor esi, esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, esi
jmp 0x447290
xor eax, eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop esi
call fcn.00484647
add ebp, 0x90
leave
ret
Function at 0x44f6af
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.00484550
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 0x44f6fc
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x44f6fe
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00484647
add ebp, 0x98
leave
ret

Function at 0x451a42
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x4b8a68
call fcn.00485421
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 0x451a6c
push 3
jmp 0x451a73
cmp dword [esi + 0x7a], edi
je 0x451a76
push 2
pop ebx
jmp 0x451a7e
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.004518c5
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.0041d354
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x451afa
mov eax, dword [esi + 0xd0]
cmp dword [eax - 0xc], edi
je 0x451b68
cmp dword [esi + 0xd4], edi
jne 0x451b35
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 0x451b2e
push dword [esi + 0x3e]
push eax
push dword [esi + 0x3a]
add esi, 0x36
push esi
lea eax, [ebp - 0x10]
push eax
jmp 0x451b5d
push 0xc7c7c7
jmp 0x451b20
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.0046f5f3
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004854f9
ret 4
Function at 0x451b7b
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b8a93
call fcn.00485421
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.0046a1d0
test al, al
je 0x451d00
push esi
push esi
push 0xf0
push dword [ebx + 0x56]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x7a], esi
je 0x451bc7
lea eax, [eax*4 + 2]
jmp 0x451bd8
cmp dword [ebx + 0x7e], esi
je 0x451bd5
lea eax, [eax*4 + 1]
jmp 0x451bd8
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.0046a1ec
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.004518c5
mov ecx, esi
call fcn.0046a1e8
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.0041d354
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.0046f73e
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.0046f5f3
mov ecx, dword [ebp - 0x10]
add esp, 0x50
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004854f9
ret 4
Function at 0x451d08
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b8abe
call fcn.00485421
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.0041d354
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.0046f73e
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 0x451ddf
mov dword [ebp - 0x10], 0xc7c7c7
cmp dword [esi + 0x7a], edi
je 0x451df2
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.0046f5f3
mov ecx, dword [ebp + 8]
add esp, 0x2c
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004854f9
ret 4
Function at 0x451e2d
Capabilities:
Get graphical window text

Disassembly:
push 0x1c
mov eax, 0x4b8ae1
call fcn.00485421
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.0041d354
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.0046f73e
add esp, 0x24
cmp dword [esi + 0xbc], 1
jne 0x451ed2
lea ecx, [esi + 0x9f]
call fcn.0046a1e8
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 2]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], edi
je 0x451edc
mov ecx, dword [ebp - 0x14]
jmp 0x451ee2
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp dword [ebp + 8], edi
je 0x451eec
mov eax, dword [ebp - 0x18]
jmp 0x451ef2
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.004854f9
ret 8

Function at 0x451f15
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x4b8b04
call fcn.00485421
mov esi, ecx
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebx, ebx
test eax, eax
jne 0x451f36
push 3
jmp 0x451f3d
cmp dword [esi + 0x7a], ebx
je 0x451f40
push 2
pop edi
jmp 0x451f4a
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.0045168e
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.0041d354
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x451fe4
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.0046f5f3
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004854f9
ret 4
Function at 0x4534f6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x453554
fld dword [esi + 0x2c]
fsub qword [0x4c4cf0]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [esi + 0x2c]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x453527
call fcn.004532f3
jmp 0x453554
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 0x453554
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4

Function at 0x4547a0
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.00484550
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.00484d27
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
mov ebx, 0x465
test eax, eax
jne 0x454812
push 0
push 0
push ebx
push edi
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.00484d27
pop ecx
cmp eax, 2
jb 0x45486b
cmp word [ebp - 0x212], 0x3a
jne 0x45486b
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 0x45486b
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.00484647
leave
ret

Function at 0x45506a
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 0x45508e
xor eax, eax
jmp 0x4550fc
cmp eax, 0x104
jg 0x45508a
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2710
push 0x4c21f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x414], 0
je 0x45508a
lea eax, [ebp - 0x414]
push 0x4c21ec
push eax
call fcn.0048ad5e
pop ecx
pop ecx
test eax, eax
je 0x45508a
push eax
call fcn.0048ac1c
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.00484647
leave
ret 4
Function at 0x455604
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x455614
lea esi, [ecx - 0x9a]
jmp 0x455616
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45564a
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45563b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x455650
cmp dword [ebp + 0xc], 0
jne 0x45564a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x455668
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045515a
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45592d
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 [0x4c2130]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c2134]
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 0x455975
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x4559b6
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484550
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 0x4559a2
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x4559a8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x4559ca
jb 0x4559b6
cmp ecx, 0x400
jae 0x4559ca
push ecx
push str._d_Bytes
push ebx
call fcn.0041cc03
add esp, 0xc
jmp 0x455a9e
push edi
cmp eax, esi
ja 0x455a57
jb 0x4559dd
cmp ecx, 0x100000
jae 0x455a13
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.0048a970
mov ecx, eax
or ecx, edx
jne 0x455a07
push edi
push str._d_KB
jmp 0x455a82
push eax
push edi
push str._d._d_KB
jmp 0x455a94
cmp eax, esi
ja 0x455a57
jb 0x455a21
cmp ecx, 0x40000000
jae 0x455a57
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.0048a970
mov ecx, eax
or ecx, edx
jne 0x455a4e
push edi
push str._d_MB
jmp 0x455a82
push eax
push edi
push str._d._d_MB
jmp 0x455a94
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.0048a970
mov ecx, eax
or ecx, edx
jne 0x455a8d
push edi
push str._d_GB
push ebx
call fcn.0041cc03
add esp, 0xc
jmp 0x455a9d
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cc03
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret 8
Function at 0x455f4d
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4b91f3
call fcn.0048548a
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x455f70
push 2
pop eax
jmp 0x45610f
cmp ecx, 0x80
jle 0x455f7c
push 8
jmp 0x455f6a
cmp ecx, 3
jge 0x455f89
xor eax, eax
inc eax
jmp 0x45610f
cmp ecx, 1
jge 0x455f98
push 0x80070057
call fcn.0040dfb0
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x455fb1
cmp ecx, 2
jl 0x455f8e
movzx eax, word [eax + 4]
cmp ax, 0x5c
jne 0x455f81
xor edi, edi
test ecx, ecx
jle 0x455fff
push edi
mov ecx, esi
call fcn.0042e237
movzx eax, ax
cmp ax, 0x3a
jne 0x455fcd
cmp edi, 1
jne 0x456027
cmp ax, 0x2a
je 0x456027
cmp ax, 0x3f
je 0x456027
cmp ax, 0x22
je 0x456027
cmp ax, 0x3c
je 0x456027
cmp ax, 0x3e
je 0x456027
cmp ax, 0x7c
je 0x456027
cmp ax, 0x2f
je 0x456027
mov eax, dword [esi]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x455fb7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
xor edi, edi
inc edi
cmp ecx, 4
jge 0x45602e
cmp ecx, edi
jle 0x456020
jl 0x455f8e
movzx edx, word [eax + 2]
cmp dx, 0x3a
je 0x45602e
mov eax, edi
jmp 0x45610f
push 7
jmp 0x455f6a
cmp ecx, 2
jl 0x456045
cmp ecx, edi
jl 0x455f8e
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x456020
cmp ecx, edi
jle 0x456082
mov ecx, dword [0x4c22ac]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4c22b0]
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], 0
jl 0x455f8e
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 0x456082
push 9
jmp 0x455f6a
lea ecx, [ebp - 0x38]
call fcn.0042ecb6
push dword [esi]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4560d5
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.004198bb
lea ecx, [ebp - 0x38]
call fcn.0042f326
test eax, eax
je 0x4560e7
cmp eax, 0x50
je 0x4560d5
cmp eax, 0xb7
je 0x4560d5
push 5
pop esi
cmp eax, esi
jne 0x4560d1
lea ecx, [ebp - 0x38]
call fcn.0042f2d0
mov eax, esi
jmp 0x45610f
mov esi, edi
jmp 0x4560c5
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0045506a
test eax, eax
jne 0x4560e7
push 5
pop esi
jmp 0x4560c5
mov eax, dword [0x4ec6b0]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.004688ab
add esp, 0xc
test eax, eax
jne 0x456105
push 3
jmp 0x4560e4
lea ecx, [ebp - 0x38]
call fcn.0042f2d0
xor eax, eax
call fcn.0048550d
ret 4
Function at 0x456195
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, 0x4b924b
call fcn.00485421
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 0x4561f5
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.00484647
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.004463fb
lea ecx, [ebp - 0x10]
call fcn.00446444
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.00456117
test eax, eax
jne 0x4562aa
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], eax
je 0x456279
push 0x40
push 0x96
push esi
push dword [edi + 4]
call fcn.0045044e
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
call fcn.004548a3
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 0x4561d2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d354
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4ec63c
call fcn.0041cb91
mov esi, dword [ebp - 0x14]
xor edi, edi
inc edi
jmp 0x456290