Function at 0x10044284
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.1004b147
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1006f2f1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x1006f2f0
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100442ea
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.1004d110
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10044325
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000cc7d
mov dword [ebp - 0x20], eax
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x1000
push dword [ebp - 0x20]
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000f284
test eax, eax
je 0x10044975
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1004438c
mov eax, 0x1006f2f1
push eax
push 3
mov ebx, 0x19c
call fcn.1004cdb0
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x100443c0
and eax, 0xff
jmp 0x1004440b
cmp ecx, 0x80000201
jne 0x100443cb
cwde
jmp 0x1004440b
cmp ecx, 0x80000301
je 0x1004440b
cmp ecx, 0x80000401
je 0x1004440b
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x100443fb
cmp ecx, 0x80000601
je 0x10044400
push 2
call fcn.1004b13b
add esp, 4
fld dword [ebp - 0x30]
jmp 0x10044406
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.10002322
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push 9
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10044437
mov eax, 0x1006f2f1
push eax
push 3
mov ebx, 0x1a8
call fcn.1004d430
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10044461
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10015178
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044487
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x100444df
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100444bb
push 6
call fcn.1004b13b
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100444da
push eax
mov ebx, eax
call fcn.100019bc
inc eax
push eax
call fcn.1004b147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1004497f
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.1004d110
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10044514
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10044525
add eax, 8
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10044547
push 6
call fcn.1004b13b
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10044567
mov eax, 0x1006f2f1
push eax
push 2
mov ebx, 0x1a0
call fcn.1004d5d0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10044591
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x80000005
push 0
push 0x10080c90
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100445ba
mov eax, 0x1006f2f1
push eax
push 3
mov ebx, 0x1c4
call fcn.1004de20
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100445f2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100445ee
imul eax, dword [ebx]
jmp 0x100445e3
mov ecx, eax
test ecx, ecx
je 0x10044611
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1004460a
push ebx
push eax
call fcn.1004b14d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100445f8
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000114d
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1004492a
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.1004c420
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10044671
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001166
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10044692
push 4
call fcn.1004b13b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100446a5
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.10001166
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x100446ca
push 4
call fcn.1004b13b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100446dd
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x10080c9a
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.10007f79
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10044715
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001166
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10044738
push 4
call fcn.1004b13b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1004474b
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esp
push 0x80
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x1004476a
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10044787
push 6
call fcn.1004b13b
add esp, 4
push closesocket
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100447ac
mov eax, 0x1006f2f0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x100447c2
mov eax, 0x1006f2f0
push eax
push 4
mov ebx, 0x148
call fcn.1004c350
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10044922
mov ebx, dword [ebp - 0x14]
call fcn.10001166
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x100447ff
push 4
call fcn.1004b13b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10044812
push 1
call fcn.1004b13b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x1004482f
mov eax, 0x1006f2f1
push eax
push 1
mov ebx, 0x168
call fcn.1004c020
add esp, 0x10
mov dword [ebp - 0x24], eax
push closesocket
push 0
push 1
mov ebx, 6
call fcn.1004427c
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1004486e
mov eax, 0x1006f2f0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10044882
mov eax, 0x1006f2f0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10044898
mov eax, 0x1006f2f0
push eax
push 6
mov ebx, 0x180
call fcn.1004dfc0
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100448be
push ebx
call fcn.1004b14d
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100448d4
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100448fe
push 6
call fcn.1004b13b
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1004491d
push eax
mov ebx, eax
call fcn.100019bc
inc eax
push eax
call fcn.1004b147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1004497f
pop eax
pop ebx
pop ecx
jmp 0x1004462e
add esp, 0xc
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10044951
push 6
call fcn.1004b13b
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10044970
push eax
mov ebx, eax
call fcn.100019bc
inc eax
push eax
call fcn.1004b147
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1004497f
mov eax, 0x1006f2f0
jmp 0x1004497f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10044990
push ebx
call fcn.1004b14d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100449a0
push ebx
call fcn.1004b14d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100449be
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100449ba
imul eax, dword [ebx]
jmp 0x100449af
mov ecx, eax
test ecx, ecx
je 0x100449dd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100449d6
push ebx
push eax
call fcn.1004b14d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100449c4
call fcn.1004b14d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100449f5
push ebx
call fcn.1004b14d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10