Function at 0x1002911b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100633de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10029568
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1002925e
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10029215
mov ecx, dword [ebp - 0x58]
call fcn.1002adab
movzx eax, al
test eax, eax
jne 0x10029259
push 0x45c9
push 0x3d3
push dword [ebp - 0x58]
push 0x2dee
push 0x4b1b
push 1
push 0x4ddb
push dword [ebp - 0x88]
push dword [ebp - 0xb8]
push 0x575
push 0x37aa
push 1
call fcn.10028d12
add esp, 0x30
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
jmp 0x10029566
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x4c7a
mov dword [ebp - 0x7c], str.priegw_fxrsfbj_bfgcpw_rbxgm_fsnswrx_qpvze_waagjyzr_oii_lauxkz_gnvhbzu_nrjpetbvc_rwnsk
cmp dword [ebp - 0x30], 0x4e8a
jle 0x10029324
and dword [ebp - 0x24], 0
jmp 0x100292d0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2e57
jge 0x1002931c
and dword [ebp - 0x20], 0
jmp 0x100292e6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5b8a
jge 0x1002931a
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
mov ecx, 0x1007f278
call fcn.1000b2a8
jmp 0x100292df
jmp 0x100292c9
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x4ab7
jge 0x10029344
mov edx, dword [ebp - 0x7c]
mov ecx, 0x1007f278
call fcn.1000ee32
jmp 0x10029360
or dword [ebp - 4], 0xffffffff
jmp 0x1002936a
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0x6c4f
mov dword [ebp - 0x9c], str.oiqw_evcykrljn_jbouvymo_ghmy_ufndzsl_fxr_kvufamkkt_rxebojk
cmp dword [ebp - 0x40], 0x6de8
jle 0x1002940c
and dword [ebp - 0x18], 0
jmp 0x1002939a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6ecc
jge 0x1002940c
and dword [ebp - 0x1c], 0
jmp 0x100293b0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5392
jge 0x1002940a
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x100]
call fcn.10001351
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.1000163c
push eax
call fcn.10049280
pop ecx
lea ecx, [ebp - 0x100]
call fcn.10001632
jmp 0x100293a9
jmp 0x10029393
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x40], 0x6a47
jge 0x10029434
push dword [ebp - 0x9c]
call fcn.10049280
pop ecx
jmp 0x10029450
or dword [ebp - 4], 0xffffffff
jmp 0x1002945a
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x19fa
jle 0x10029490
mov dword [ebp - 0xac], 1
jmp 0x10029497
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.100016c0
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
je 0x100294c4
mov dword [ebp - 0x48], 1
jmp 0x100294c8
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x9200
jne 0x100294da
mov dword [ebp - 0x34], 1
jmp 0x100294de
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x34]
je 0x10029505
mov dword [ebp - 0x44], 1
jmp 0x10029509
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jg 0x1002951c
mov dword [ebp - 0x4c], 1
jmp 0x10029520
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
imul eax, dword [ebp - 0x4c]
neg eax
jne 0x1002953b
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x1002953b
and dword [ebp - 0x54], 0
jmp 0x10029542
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0x993dd61f
je 0x10029554
mov dword [ebp - 0x5c], 1
jmp 0x10029558
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
sub eax, 4
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], eax
jmp 0x10029570
push 0
call fcn.10019f19
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret