Function at 0x411d1c
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47da21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x50]
call fcn.00458690
xor ebp, ebp
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1c0], ebp
call fcn.0043a8f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c0], 1
call fcn.0043a8f0
lea edi, [esi + 0x1b8]
mov byte [esp + 0x1c0], 2
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x18], ebp
call fcn.0043baf0
test eax, eax
je 0x411de6
push ebp
mov ecx, edi
call fcn.0043ba70
movsx eax, al
push eax
lea ecx, [esp + 0xc4]
push str._c:_
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0043bb30
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0043baa0
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0xe0]
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [esp + 0x24]
call fcn.0043acd0
push str.HFSJ
lea ecx, [esp + 0x28]
call fcn.0043af60
test eax, eax
jne 0x411de6
mov dword [esp + 0x18], 1
mov edx, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x412150
mov ecx, dword [esi + 0x50]
push ecx
call fcn.0046fea8
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x412150
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esi + 0x50]
mov ebx, ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
push edx
and ecx, 3
push 1
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
mov word [edx + 0x1fe], 0xaa55
mov dword [edx + 0x1b8], eax
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x412150
mov ecx, dword [esi + 0x50]
mov edi, dword [esp + 0x10]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0x2000
rep stosb byte es:[edi], al
lea ecx, [esp + 0xf8]
call fcn.00443bd0
mov edi, eax
mov dword [esp + 0x14], 0
dec edi
neg edi
sbb edi, edi
and edi, 9
inc edi
test edi, edi
jbe 0x411ee3
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x50]
mov ebx, dword [esi]
push eax
push 1
push 0
push ecx
push 0
push 0x100000
call fcn.0046fc40
xor ecx, ecx
add eax, dword [esp + 0x1c]
adc edx, ecx
mov ecx, esi
push edx
push eax
call dword [ebx + 0x10]
test eax, eax
je 0x411ee3
mov eax, dword [esp + 0x14]
inc eax
cmp eax, edi
mov dword [esp + 0x14], eax
jb 0x411ea8
cmp dword [esp + 0x1c], 1
jne 0x411f38
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x278]
lea edi, [esi + 0x264]
push eax
push ecx
push edi
mov ecx, 0x4a30b0
call fcn.00453890
mov edx, dword [esi + 0x260]
mov eax, dword [esi + 0x278]
push edx
push eax
push edi
mov ecx, 0x4a30b0
call fcn.00453870
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
je 0x412150
mov eax, dword [esp + 0x1cc]
test eax, eax
jne 0x411f56
mov eax, dword [esi + 0x34]
test eax, eax
ja 0x411f5f
cmp dword [esi + 0x30], 0xffffffff
jb 0x412055
jmp 0x411f5f
cmp eax, 1
jne 0x412055
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x54]
call fcn.00458770
test eax, eax
je 0x412150
lea ecx, [esp + 0x54]
call fcn.004588a0
lea ecx, [esp + 0x54]
call fcn.00458870
lea ebx, [esi + 0x1f0]
push 1
push 0
mov ecx, ebx
call fcn.0043baa0
push eax
lea ecx, [esp + 0x5c]
call fcn.004598f0
test eax, eax
je 0x412150
push 2
mov ecx, eax
call fcn.00458280
test eax, eax
je 0x412150
lea ecx, [esp + 0x54]
call fcn.00458870
push 1
push 0
mov ecx, ebx
call fcn.0043baa0
push eax
lea ecx, [esp + 0x5c]
call fcn.004598f0
mov edi, eax
test edi, edi
je 0x412150
push 1
mov ecx, edi
call fcn.00458440
test eax, eax
je 0x412150
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push 2
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004582b0
test eax, eax
je 0x412150
lea ecx, [esp + 0x54]
call fcn.00458870
push 0
mov ecx, ebx
call fcn.0043baa0
push eax
lea ecx, [esp + 0x58]
call fcn.00459990
test eax, eax
je 0x412150
push 0
mov ecx, eax
call fcn.004585b0
test eax, eax
je 0x412150
jmp 0x412138
push 0x88
call fcn.0046fea8
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x412150
mov eax, dword [esi + 0x34]
test eax, eax
ja 0x412150
jb 0x412083
cmp dword [esi + 0x30], 0xffffffff
ja 0x412150
mov ecx, 0x22
xor eax, eax
mov edi, ebp
push 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], 0x100000
mov dword [ebp], 4
mov dword [ebp + 4], eax
mov dword [ebp + 0xc], 0
mov ecx, dword [esi + 0x50]
push ecx
push 0
push 0x100000
call fcn.0046fc40
mov edi, eax
mov dword [ebp + 0x18], edi
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x50]
push edx
push eax
push 0
push ebx
call fcn.0046fc00
imul edi, ebx
xor ecx, ecx
sub eax, edi
sbb edx, ecx
sub eax, 0x400000
sbb edx, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
lea edx, [esp + 0x24]
push ecx
push edx
push 0x88
push ebp
mov dword [ebp + 0x1c], 1
mov byte [ebp + 0x20], 0xb
mov byte [ebp + 0x21], cl
mov byte [ebp + 0x22], 1
mov byte [ebp + 0x23], 1
mov byte [ebp + 0x43], 1
mov byte [ebp + 0x63], 1
mov byte [ebp + 0x83], 1
mov eax, dword [esi + 0x220]
push 0x88
push ebp
push 0x7c010
push eax
mov ecx, esi
call fcn.0041d5d0
test eax, eax
je 0x412150
push 0x4a3290
lea ecx, [esi + 0x1b8]
call fcn.0043ae00
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x54]
call fcn.00458820
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
test ebp, ebp
pop ebx
je 0x41216e
push ebp
call fcn.0046fd2e
add esp, 4
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
test eax, eax
je 0x412182
push eax
call fcn.0046fd2e
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b4], 1
call fcn.0043a990
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1b4], 0
call fcn.0043a990
lea ecx, [esp + 0x44]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.004586e0
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x1b8
ret 4