Function at 0x49be90
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x524
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x520], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 8], eax
add eax, 0x10
push esi
push edi
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0049d0d0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
movq qword [esp + 0x78], xmm0
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.00419bf0
mov ebx, dword [esp + 0x7c]
xor edi, edi
test ebx, ebx
je 0x49c0a2
jmp 0x49bf10
lea ecx, [esp + 0xa0]
call fcn.0049b5e0
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xac]
mov esi, dword [eax + edi*4]
push esi
call fcn.004128e0
mov eax, dword [esi + 4]
test eax, eax
je 0x49bf47
dec eax
lea ecx, [esp + 0xa0]
push eax
push dword [esi]
call fcn.00412960
xorps xmm0, xmm0
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xb8], xmm0
movlpd qword [esp + 0xc0], xmm0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esp + 0xe8], eax
cmp eax, 5
je 0x49c022
cmp eax, 2
je 0x49c022
xor eax, eax
push 0x104
mov word [esp + 0x10c], ax
mov word [esp + 0x31c], ax
lea eax, [esp + 0x31c]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x100]
push eax
push 0x104
lea eax, [esp + 0x120]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xd4]
call fcn.00412850
lea eax, [esp + 0x318]
push eax
lea ecx, [esp + 0xe0]
call fcn.00412850
mov ecx, dword [esi]
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xbc]
push eax
lea edx, [esp + 0xd0]
call fcn.0041c450
mov word [esp + 0xec], 0x101
push 0x50
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x49c46d
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.0049d180
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00410b20
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ecx + edx*4], esi
push dword [esp + 0xdc]
inc dword [eax + 4]
call fcn.004df97b
add esp, 4
push dword [esp + 0xd0]
call fcn.004df97b
add esp, 4
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
push dword [esp + 0xa0]
call fcn.004df97b
inc edi
add esp, 4
cmp edi, ebx
jb 0x49bf10
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1c], 0
je 0x49c41c
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x49c0c0
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
push str.PhysicalDrive
lea ecx, [esp + 0x8c]
movq qword [esp + 0x8c], xmm0
call fcn.00412700
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x84], edx
cmp ebx, 0xa
jb 0x49c131
jmp 0x49c100
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov al, dl
mov bl, dl
shl al, 2
add bl, al
mov eax, dword [esp + 0x84]
add bl, bl
mov dword [esp + 0x84], edx
sub al, bl
add al, 0x30
mov byte [esp + ecx + 0x68], al
inc ecx
cmp edx, 0xa
jae 0x49c100
add dl, 0x30
mov byte [esp + 0xf8], dl
lea edx, [esp + 0xf9]
test ecx, ecx
je 0x49c152
mov al, byte [esp + ecx + 0x67]
dec ecx
mov byte [edx], al
inc edx
test ecx, ecx
jne 0x49c146
mov byte [edx], 0
xor esi, esi
cmp byte [esp + 0xf8], 0
je 0x49c16c
inc esi
cmp byte [esp + esi + 0xf8], 0
jne 0x49c161
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
sub eax, edi
cmp esi, eax
jbe 0x49c1a4
lea ecx, [edi + esi]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x88]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
xor ecx, ecx
lea edx, [ebx + edi*2]
test esi, esi
je 0x49c1d1
jmp 0x49c1c0
movzx eax, byte [esp + ecx + 0xf8]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x49c1c0
xor eax, eax
lea ecx, [esp + 0x94]
xorps xmm0, xmm0
mov word [edx + esi*2], ax
push str.._
add edi, esi
movq qword [esp + 0x98], xmm0
mov dword [esp + 0xa0], eax
call fcn.00412700
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
sub eax, esi
cmp edi, eax
jbe 0x49c235
lea ecx, [esi + edi]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x94]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov esi, dword [esp + 0x98]
lea eax, [edi*2 + 2]
push eax
push ebx
mov ebx, dword [esp + 0x9c]
lea eax, [ebx + esi*2]
push eax
call fcn.004e4930
add esp, 0xc
lea ecx, [esp + 0xa0]
add esi, edi
call fcn.00417b20
push ebx
lea ecx, [esp + 0xa4]
call fcn.00419180
test al, al
je 0x49c3df
lea ecx, [esp + 0x18]
call fcn.0049b5e0
cmp edi, dword [esp + 0x20]
jbe 0x49c2bf
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x49c481
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edi
jmp 0x49c2c3
mov ebx, dword [esp + 0x18]
lea eax, [edi*2 + 2]
mov dword [esp + 0x1c], edi
push eax
push dword [esp + 0x8c]
push ebx
call fcn.004e4930
add esp, 0xc
cmp esi, dword [esp + 0x2c]
jbe 0x49c321
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov edi, eax
add esp, 4
test edi, edi
je 0x49c495
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
jmp 0x49c325
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x94]
lea eax, [esi*2 + 2]
push eax
push ebx
push edi
mov dword [esp + 0x34], esi
call fcn.004e4930
mov eax, dword [esp + 0xac]
add esp, 0xc
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
movlpd qword [esp + 0x40], xmm0
push 0x50
mov dword [esp + 0x38], eax
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x64], 0
mov byte [esp + 0x6a], 1
mov byte [esp + 0x68], 1
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x49c4a9
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0049d180
mov edi, dword [esp + 0x14]
mov esi, eax
mov ecx, edi
call fcn.00410b20
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ecx + edx*4], esi
push dword [esp + 0x54]
inc dword [edi + 4]
call fcn.004df97b
add esp, 4
push dword [esp + 0x48]
call fcn.004df97b
add esp, 4
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
push dword [esp + 0xc8]
call fcn.004df97b
add esp, 4
push ebx
call fcn.004df97b
add esp, 4
push dword [esp + 0x88]
call fcn.004df97b
mov ebx, dword [esp + 0x14]
add esp, 4
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, 0x10
jb 0x49c0c0
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x49c448
mov eax, dword [esp + 0x78]
mov esi, dword [eax + ebx*4 - 4]
dec ebx
test esi, esi
je 0x49c444
push dword [esi]
call fcn.004df97b
add esp, 4
push esi
call fcn.004df97b
mov eax, dword [esp + 0x7c]
add esp, 4
test ebx, ebx
jne 0x49c424
push dword [esp + 0x78]
call fcn.004df97b
mov ecx, dword [esp + 0x530]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 4
push 0x51c2c8
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
call fcn.004ea58e
int3