joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44707d
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.00484150
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 0x447131
cmp ax, word [ebp - 0x74]
je 0x447131
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 0x447131
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
jne 0x447150
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 0x447157
cmp ax, word [ebp - 0x74]
je 0x447157
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.00484247
add ebp, 0x790
leave
ret

Function at 0x447193
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.00484150
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 0x44723f
cmp word [ebp - 0x74], 0
je 0x44723f
cmp dword [ebp - 0x78], 0
jbe 0x44723f
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 0x447230
xor esi, esi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, esi
jmp 0x447241
xor eax, eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop esi
call fcn.00484247
add ebp, 0x90
leave
ret
Function at 0x44f660
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.00484150
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 0x44f6ad
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x44f6af
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00484247
add ebp, 0x98
leave
ret

Function at 0x4519f3
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x4b8658
call fcn.0048501f
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 0x451a1d
push 3
jmp 0x451a24
cmp dword [esi + 0x7a], edi
je 0x451a27
push 2
pop ebx
jmp 0x451a2f
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.00451876
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 0x451aab
mov eax, dword [esi + 0xd0]
cmp dword [eax - 0xc], edi
je 0x451b19
cmp dword [esi + 0xd4], edi
jne 0x451ae6
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 0x451adf
push dword [esi + 0x3e]
push eax
push dword [esi + 0x3a]
add esi, 0x36
push esi
lea eax, [ebp - 0x10]
push eax
jmp 0x451b0e
push 0xc7c7c7
jmp 0x451ad1
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.0046f1f0
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004850f7
ret 4
Function at 0x451b2c
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b8683
call fcn.0048501f
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.00469da6
test al, al
je 0x451cb1
push esi
push esi
push 0xf0
push dword [ebx + 0x56]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x7a], esi
je 0x451b78
lea eax, [eax*4 + 2]
jmp 0x451b89
cmp dword [ebx + 0x7e], esi
je 0x451b86
lea eax, [eax*4 + 1]
jmp 0x451b89
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.00469dc2
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.00451876
mov ecx, esi
call fcn.00469dbe
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.0046f33b
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.0046f1f0
mov ecx, dword [ebp - 0x10]
add esp, 0x50
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004850f7
ret 4
Function at 0x451cb9
Capabilities:
Get graphical window text

Disassembly:
push 0x34
mov eax, 0x4b86ae
call fcn.0048501f
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.0046f33b
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 0x451d90
mov dword [ebp - 0x10], 0xc7c7c7
cmp dword [esi + 0x7a], edi
je 0x451da3
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.0046f1f0
mov ecx, dword [ebp + 8]
add esp, 0x2c
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004850f7
ret 4
Function at 0x451dde
Capabilities:
Get graphical window text

Disassembly:
push 0x1c
mov eax, 0x4b86d1
call fcn.0048501f
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.0046f33b
add esp, 0x24
cmp dword [esi + 0xbc], 1
jne 0x451e83
lea ecx, [esi + 0x9f]
call fcn.00469dbe
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 2]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], edi
je 0x451e8d
mov ecx, dword [ebp - 0x14]
jmp 0x451e93
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp dword [ebp + 8], edi
je 0x451e9d
mov eax, dword [ebp - 0x18]
jmp 0x451ea3
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.004850f7
ret 8

Function at 0x451ec6
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x4b86f4
call fcn.0048501f
mov esi, ecx
push dword [esi + 0x56]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebx, ebx
test eax, eax
jne 0x451ee7
push 3
jmp 0x451eee
cmp dword [esi + 0x7a], ebx
je 0x451ef1
push 2
pop edi
jmp 0x451efb
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.0045163f
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 0x451f95
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.0046f1f0
add esp, 0x2c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.004850f7
ret 4
Function at 0x4534a7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x453505
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 0x4534d8
call fcn.004532a4
jmp 0x453505
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 0x453505
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4

Function at 0x454751
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.00484150
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.00484927
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
mov ebx, 0x465
test eax, eax
jne 0x4547c3
push 0
push 0
push ebx
push edi
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.00484927
pop ecx
cmp eax, 2
jb 0x45481c
cmp word [ebp - 0x212], 0x3a
jne 0x45481c
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 0x45481c
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.00484247
leave
ret

Function at 0x45501b
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 0x45503f
xor eax, eax
jmp 0x4550ad
cmp eax, 0x104
jg 0x45503b
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00484150
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 0x45503b
lea eax, [ebp - 0x414]
push 0x4c2184
push eax
call fcn.0048a95e
pop ecx
pop ecx
test eax, eax
je 0x45503b
push eax
call fcn.0048a81c
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.00484247
leave
ret 4
Function at 0x4555b5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x4555c5
lea esi, [ecx - 0x9a]
jmp 0x4555c7
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x4555fb
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4555ec
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x455601
cmp dword [ebp + 0xc], 0
jne 0x4555fb
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x455619
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045510b
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4558de
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 0x455926
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x455967
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484150
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 0x455953
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x455959
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45597b
jb 0x455967
cmp ecx, 0x400
jae 0x45597b
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a4f
push edi
cmp eax, esi
ja 0x455a08
jb 0x45598e
cmp ecx, 0x100000
jae 0x4559c4
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x4559b8
push edi
push str._d_KB
jmp 0x455a33
push eax
push edi
push str._d._d_KB
jmp 0x455a45
cmp eax, esi
ja 0x455a08
jb 0x4559d2
cmp ecx, 0x40000000
jae 0x455a08
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x4559ff
push edi
push str._d_MB
jmp 0x455a33
push eax
push edi
push str._d._d_MB
jmp 0x455a45
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x455a3e
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a4e
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.00484247
leave
ret 8
Function at 0x455efe
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4b8de0
call fcn.00485088
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x455f21
push 2
pop eax
jmp 0x4560c0
cmp ecx, 0x80
jle 0x455f2d
push 8
jmp 0x455f1b
cmp ecx, 3
jge 0x455f3a
xor eax, eax
inc eax
jmp 0x4560c0
cmp ecx, 1
jge 0x455f49
push 0x80070057
call fcn.0040dfb0
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x455f62
cmp ecx, 2
jl 0x455f3f
movzx eax, word [eax + 4]
cmp ax, 0x5c
jne 0x455f32
xor edi, edi
test ecx, ecx
jle 0x455fb0
push edi
mov ecx, esi
call fcn.0042e1e4
movzx eax, ax
cmp ax, 0x3a
jne 0x455f7e
cmp edi, 1
jne 0x455fd8
cmp ax, 0x2a
je 0x455fd8
cmp ax, 0x3f
je 0x455fd8
cmp ax, 0x22
je 0x455fd8
cmp ax, 0x3c
je 0x455fd8
cmp ax, 0x3e
je 0x455fd8
cmp ax, 0x7c
je 0x455fd8
cmp ax, 0x2f
je 0x455fd8
mov eax, dword [esi]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x455f68
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
xor edi, edi
inc edi
cmp ecx, 4
jge 0x455fdf
cmp ecx, edi
jle 0x455fd1
jl 0x455f3f
movzx edx, word [eax + 2]
cmp dx, 0x3a
je 0x455fdf
mov eax, edi
jmp 0x4560c0
push 7
jmp 0x455f1b
cmp ecx, 2
jl 0x455ff6
cmp ecx, edi
jl 0x455f3f
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x455fd1
cmp ecx, edi
jle 0x456033
mov ecx, dword [0x4c2244]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4c2248]
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], 0
jl 0x455f3f
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 0x456033
push 9
jmp 0x455f1b
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 0x456086
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 0x456098
cmp eax, 0x50
je 0x456086
cmp eax, 0xb7
je 0x456086
push 5
pop esi
cmp eax, esi
jne 0x456082
lea ecx, [ebp - 0x38]
call fcn.0042f27d
mov eax, esi
jmp 0x4560c0
mov esi, edi
jmp 0x456076
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0045501b
test eax, eax
jne 0x456098
push 5
pop esi
jmp 0x456076
mov eax, dword [0x4ec6b0]
mov esi, dword [esi]
shl eax, 0x14
cdq
push edx
push eax
push esi
call fcn.00468750
add esp, 0xc
test eax, eax
jne 0x4560b6
push 3
jmp 0x456095
lea ecx, [ebp - 0x38]
call fcn.0042f27d
xor eax, eax
call fcn.0048510b
ret 4
Function at 0x456146
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, 0x4b8e38
call fcn.0048501f
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 0x4561a6
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.00484247
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.004463a9
lea ecx, [ebp - 0x10]
call fcn.004463f2
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.004560c8
test eax, eax
jne 0x45625b
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], eax
je 0x45622a
push 0x40
push 0x96
push esi
push dword [edi + 4]
call fcn.004503ff
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
call fcn.00454854
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 0x456183
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 0x456241