Function at 0x479622
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bccb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x4796a1
lea eax, [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x479675
push 1
push 0x34f0
call fcn.0047997d
pop ecx
pop ecx
jmp 0x47969c
push 1
push 0xd0
push 1
push 0x250b
push 0x4b3a
push 0x7572
push 0xf96
push 1
call fcn.00471f91
add esp, 0x20
jmp 0x47996c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x4798c9
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x34], 0x2d1b
mov dword [ebp - 0x54], str.gcnfccv_erpzfbdj_nluqrtlkq_qjtllmhw_fnxn_zbwyeuupz_uqxhv_axkfzdex_dfhy_shebm_gyzjqid_yjfznxphr
cmp dword [ebp - 0x34], 0x2f4b
jle 0x4797bb
and dword [ebp - 0x30], 0
jmp 0x47972b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x68e8
jge 0x4797bb
and dword [ebp - 0x28], 0
jmp 0x479745
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7494
jge 0x4797b6
and dword [ebp - 0x20], 0
jmp 0x47975b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x38e9
jge 0x4797b4
and dword [ebp - 0x24], 0
jmp 0x479771
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x230d
jge 0x4797b2
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
sub edx, eax
mov ecx, dword [ebp - 0x24]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0xace058
call fcn.004063d1
jmp 0x47976a
jmp 0x479754
jmp 0x47973e
jmp 0x479724
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x2b46
jge 0x4797db
mov edx, dword [ebp - 0x54]
mov ecx, 0xace058
call fcn.00409042
jmp 0x4797f7
or dword [ebp - 4], 0xffffffff
jmp 0x479801
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x479861
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x479842
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x47985f
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.00406814
mov dword [eax], 0x3e63e315
jmp 0x479837
jmp 0x4798c4
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
jmp 0x479886
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jl 0x4798c4
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4798a0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0
push 1
push 0x73c7
push 0x4c3d
push 0x62b5
push 0x65c5
push 1
call fcn.0045c8a2
add esp, 0x1c
jmp 0x47987b
jmp 0x47996c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x47990c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
push 0
mov ecx, dword [ebp - 0x78]
call fcn.00406814
mov dword [eax], 0xd976ff55
jmp 0x47996c
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x47994c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x47996c
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.00406814
mov dword [eax], 0xdae5a60d
jmp 0x479941
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret