Function at 0x412e90
Capabilities:
Get disk size
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5130ec
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x55d198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x18]
push 3
push eax
push esi
call fcn.004e2670
xor eax, eax
mov dword [ebp - 0x180], 7
add esp, 0x24
mov dword [ebp - 0x184], 0
mov word [ebp - 0x194], ax
cmp word [ebp - 0x18], ax
jne 0x412f12
xor ecx, ecx
jmp 0x412f2f
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412f20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x194]
call fcn.00403800
cmp dword [ebp - 0x184], 0
je 0x412f5a
mov ecx, esi
call fcn.00421300
mov byte [ebp - 0x179], 0
test eax, eax
jne 0x412f61
mov byte [ebp - 0x179], 1
mov eax, dword [ebp - 0x180]
cmp eax, 8
jb 0x412f7f
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.00403a50
cmp byte [ebp - 0x179], 0
je 0x4131c6
push 0xffffffffffffffff
push 0x544088
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x360], 0x93
call fcn.00481687
push 0xffffffffffffffff
push 0x545434
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 0
call fcn.00481687
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x194]
push 0x12
xor eax, eax
mov dword [ebp - 0x180], 7
push 0x545434
mov dword [ebp - 0x184], 0
mov word [ebp - 0x194], ax
call fcn.00403800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b8]
push 0x12
xor eax, eax
mov dword [ebp - 0x1a4], 7
push 0x545434
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0x1b8], ax
call fcn.00403800
push 1
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x194]
call fcn.00416220
push eax
push 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00416190
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x41305c
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x254]
call fcn.00481687
mov eax, dword [ebp - 0x1bc]
cmp eax, 8
jb 0x413088
inc eax
lea ecx, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1d0]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1c0], 0
cmp eax, 8
jb 0x4130c3
inc eax
lea ecx, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1b8]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x1a4], 7
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1a8], 0
cmp eax, 8
jb 0x4130fe
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x180], 7
mov dword [ebp - 0x184], 0
mov word [ebp - 0x194], ax
push eax
lea eax, [ebp - 0x468]
mov dword [ebp - 4], 5
push str.IDTitleInvalidPath
push eax
call fcn.0040dae0
mov ecx, eax
call fcn.00482475
mov edi, eax
push 0
lea eax, [ebp - 0x3e4]
mov byte [ebp - 4], 6
push str.IDTextInvalidPath
push eax
call fcn.0040dae0
mov ecx, eax
call fcn.00482475
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00481893
push eax
mov ecx, esi
call fcn.00481893
push eax
mov ecx, ebx
call fcn.004a0174
lea edx, [ebp - 0x360]
mov ecx, eax
call fcn.00429330
add esp, 8
lea ecx, [ebp - 0x3e4]
call fcn.00481789
lea ecx, [ebp - 0x468]
call fcn.00481789
lea ecx, [ebp - 0x254]
call fcn.00481789
lea ecx, [ebp - 0x2d8]
call fcn.00481789
lea ecx, [ebp - 0x35c]
call fcn.00481789
xor al, al
jmp 0x413696
xorps xmm0, xmm0
mov dword [ebp - 0x50], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
call fcn.004d23f0
xor edx, edx
movsd qword [ebp - 0x1a0], xmm0
mov ecx, 0x40000000
call fcn.004d23f0
movsd xmm1, qword [ebp - 0x1a0]
divsd xmm1, xmm0
movsd xmm0, qword [0x548458]
comisd xmm0, xmm1
jbe 0x413403
push 0xffffffffffffffff
push 0x544088
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x360], 0x93
call fcn.00481687
push 0xffffffffffffffff
push 0x545434
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 9
call fcn.00481687
push 0x545434
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xa
call fcn.00403010
mov esi, eax
push 0x545434
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xb
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.00416220
push eax
push 0
lea eax, [ebp - 0x1d0]
mov ecx, edi
push eax
call fcn.00416190
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x4132c4
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x254]
call fcn.00481687
mov eax, dword [ebp - 0x1bc]
cmp eax, 8
jb 0x4132f0
inc eax
lea ecx, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1d0]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1c0], 0
cmp eax, 8
jb 0x41332b
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x180], 7
mov word [ebp - 0x194], ax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x184], 0
cmp eax, 8
jb 0x413366
inc eax
lea ecx, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1b8]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x1a4], 7
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0x1b8], ax
push eax
lea eax, [ebp - 0x3e4]
mov byte [ebp - 4], 0xe
push str.IDTitleDiskLow
push eax
call fcn.0040dae0
mov ecx, eax
call fcn.00482475
mov edi, eax
push 0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0xf
push str.IDTextDiskLow
push eax
call fcn.0040dae0
mov ecx, eax
call fcn.00482475
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00481893
push eax
mov ecx, esi
call fcn.00481893
push eax
mov ecx, ebx
call fcn.004a0174
lea edx, [ebp - 0x360]
mov ecx, eax
call fcn.00429330
add esp, 8
lea ecx, [ebp - 0x468]
call fcn.00481789
lea ecx, [ebp - 0x3e4]
jmp 0x413199
mov dword [ebp - 4], 0xffffffff
cmp word [esi], 0
jne 0x413414
xor ecx, ecx
jmp 0x41342f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413420
sub ecx, edx
sar ecx, 1
push ecx
lea edi, [ebx + 0x948]
push esi
mov ecx, edi
call fcn.00403800
xor ecx, ecx
mov dword [ebp - 0x1c], 7
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x960]
mov word [ebp - 0x30], cx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
call fcn.004033f0
push esi
mov ecx, ebx
mov dword [ebp - 4], 0x11
call fcn.00415570
test eax, eax
je 0x413486
push 0
push 0x544088
lea ecx, [ebp - 0x30]
call fcn.00403800
call fcn.00404640
cmp dword [eax + 0x28], 0
je 0x413582
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4134a0
mov eax, dword [eax]
test eax, eax
je 0x413582
cmp dword [edi + 0x14], 8
jb 0x4134b0
mov edi, dword [edi]
cmp dword [ebp - 0x1c], 8
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
call fcn.00404640
cmp dword [eax + 0x28], 0
jne 0x4134ca
xor eax, eax
jmp 0x4134d5
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4134d5
mov eax, dword [eax]
mov ecx, dword [ebx + 0xa2c]
push 1
push 1
push edi
push esi
push eax
call fcn.0040b3a0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x178]
call fcn.00481687
push 0xffffffffffffffff
push 0x544088
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x16
call fcn.00481687
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 0x17
call fcn.0048641d
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
movq qword [ebp - 0x1a0], xmm0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
push 1
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebx + 0x30]
call fcn.0048a51f
lea ecx, [ebp - 0xf4]
call fcn.00481789
lea ecx, [ebp - 0x178]
call fcn.00481789
jmp 0x41367f
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x198], esi
lea ecx, [esi + 4]
mov dword [esi], ebx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4135aa
mov eax, dword [ecx]
jmp 0x4135ac
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x30]
push edx
push eax
call fcn.004033f0
lea ecx, [ebp - 0x58]
mov word [esi + 0x1c], 0x101
call fcn.00416ac0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0xa38]
test ecx, ecx
je 0x413600
cmp dword [ecx + 4], 0
je 0x4135e4
call fcn.00422ed0
mov esi, dword [ebx + 0xa38]
test esi, esi
je 0x413600
mov ecx, esi
call fcn.00422d50
push 0x50
push esi
call fcn.004d1b2d
add esp, 8
push 0x50
call fcn.004d1637
mov edi, eax
mov dword [ebp - 0x198], edi
push 0x50
push 0
push edi
call fcn.00444b40
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x19c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x41363e
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push str.ABDEF
push ebx
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00422910
mov dword [ebx + 0xa38], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x413663
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x41367f
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x413694
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403a50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1626
mov esp, ebp
pop ebp
ret 0xc