Function at 0x41f1e0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x539f18
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00488940
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], ebp
call fcn.00488940
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call fcn.00488940
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
mov ecx, esi
mov byte [esp + 0x68], 3
call edx
cmp eax, ebp
mov dword [esp + 0x3c], eax
je 0x41f6c9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041b470
test eax, eax
je 0x41f281
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0x68], 2
je 0x41f6c9
mov ecx, dword [eax]
push eax
jmp 0x41f6c4
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x20]
push ecx
push ebx
call edx
cmp eax, ebp
jne 0x41f6bc
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x41f6bc
mov ecx, dword [esi + 0x190]
cmp ecx, ebp
je 0x41f2b9
call fcn.00427d80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x364]
call eax
mov eax, dword [esp + 0x20]
push ebp
push ebp
push ebp
push 4
lea edx, [esp + 0x38]
push edx
push 0x6c6f6e67
push 0x6c6f6164
or edi, 0xffffffff
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
push 0x6e726d6c
push eax
mov eax, dword [ecx + 0x30]
call eax
cmp dword [esp + 0x28], 0x7d0
jge 0x41f331
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov byte [esp + 0x6c], 2
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call fcn.004884e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.004884e0
mov dword [esp + 0x68], edi
jmp 0x41f6ed
lea edi, [esi + 0x194]
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.00488680
test eax, eax
ja 0x41f3e6
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x30c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.00488590
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
test eax, eax
jne 0x41f3bf
mov eax, dword [esi]
mov edx, dword [eax + 0x158]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.00488590
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call fcn.004884e0
push 0x553360
lea ecx, [esp + 0x30]
call fcn.00488980
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 6
call fcn.00488d00
lea ecx, [esp + 0x2c]
jmp 0x41f43b
push 0x553360
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
call fcn.004886b0
lea ecx, [esp + 0x44]
push ecx
call fcn.0049ab30
add esp, 0xc
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x74], 7
call fcn.0040d4c0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 8
call fcn.00488590
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 7
call fcn.004884e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.004884e0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ebp
push ebp
push ebp
push 8
lea edx, [esp + 0x50]
push edx
push 0x75693634
push 0x73697a65
push 0x6e726d6c
push eax
mov eax, dword [ecx + 0x30]
call eax
push ebp
call fcn.004cde00
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x38], edi
je 0x41f4a2
mov ecx, dword [esp + 0x30]
push edi
push ecx
call fcn.004ce5a0
push edi
call fcn.004cdf40
cdq
mov edi, edx
mov edx, dword [esp + 0x44]
push edx
mov ebp, eax
call fcn.004cdf00
add esp, 0x10
jmp 0x41f4aa
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
push 0
push 1
push 0
push 0
mov eax, ebp
add eax, dword [esp + 0x50]
mov ecx, edi
adc ecx, dword [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
push eax
push edi
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004886b0
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0049a580
add esp, 0x2c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 9
call fcn.00488590
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
test eax, eax
je 0x41f61a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00488590
mov ecx, dword [esp + 0x34]
push eax
call fcn.00488590
push 0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x20]
mov dword [esi + 0xd4], 1
call fcn.0040d490
mov ecx, eax
mov byte [esp + 0x68], 0xa
call fcn.00489670
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x68], 3
call fcn.00489940
test esi, esi
je 0x41f62c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
call fcn.00488510
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41f62c
cmp dword [0x5aa818], 1
jne 0x41f5a7
add ebp, dword [esp + 0x40]
adc edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x4c]
jb 0x41f62c
ja 0x41f5b5
cmp ebp, dword [esp + 0x48]
jbe 0x41f62c
lea eax, [esp + 0x34]
push 0x12e
push eax
call fcn.00488dc0
lea ecx, [esp + 0x34]
push 0xff
push ecx
mov byte [esp + 0x78], 0xb
call fcn.00488dc0
add esp, 0x10
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0xc
call fcn.00488510
push eax
lea ecx, [esp + 0x34]
call fcn.00488510
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xb
call fcn.004884e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 3
call fcn.004884e0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
mov byte [esp + 0x6c], 2
call eax
jmp 0x41f6c9
mov edx, dword [esp + 0x34]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004886b0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x380]
call edx
test eax, eax
jne 0x41f6a2
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
mov byte [esp + 0x6c], 2
call ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call fcn.004884e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.004884e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.004884e0
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 0
push eax
call fcn.0049f1f0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 8
push ebx
mov byte [esp + 0x6c], 2
call eax
jmp 0x41f6c9
mov ecx, dword [ebx]
mov byte [esp + 0x68], 2
push ebx
mov edx, dword [ecx + 8]
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call fcn.004884e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.004884e0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004884e0
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret