Function at 0x1000dbab
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061692
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000de19
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x28], 0x61b0
mov dword [ebp - 0x74], str.yfowebs_uaypyzmsc_zimoseolv_uhwdvzu_hsacxj_gflz_ilkf
cmp dword [ebp - 0x28], 0x62ff
jle 0x1000dc9d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
and dword [ebp - 0x24], 0
jmp 0x1000dc26
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2095
jge 0x1000dc9d
and dword [ebp - 0x20], 0
jmp 0x1000dc3c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5459
jge 0x1000dc9b
and dword [ebp - 0x1c], 0
jmp 0x1000dc52
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c73
jge 0x1000dc99
and dword [ebp - 0x14], 0
jmp 0x1000dc68
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6a23
jge 0x1000dc97
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x1007cc18
call fcn.10013d0a
jmp 0x1000dc61
jmp 0x1000dc4b
jmp 0x1000dc35
jmp 0x1000dc1f
lea eax, [ebp + 0x18]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x60cd
jge 0x1000dcbd
mov edx, dword [ebp - 0x74]
mov ecx, 0x1007cc18
call fcn.1001875a
jmp 0x1000dcd9
or dword [ebp - 4], 0xffffffff
jmp 0x1000dce3
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1000ddf9
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xffffffe4
jmp 0x1000dd2b
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], 0x3c
jle 0x1000ddf7
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x80], 0xa26275f9
mov dword [ebp - 0x9c], 5
mov dword [ebp - 0x88], 0xd593b88a
mov dword [ebp - 0x98], 0xd6aeab66
mov dword [ebp - 0x90], 0xc9f93b76
mov dword [ebp - 0x84], 9
mov dword [ebp - 0x8c], 0xfffffff9
mov dword [ebp - 0x94], 0x3a0dcb3d
mov dword [ebp - 0x68], 0xfffffff9
cmp dword [ebp - 0x34], 9
jge 0x1000dda1
mov dword [ebp - 0x2c], 1
jmp 0x1000dda5
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x1000ddb8
mov dword [ebp - 0x30], 1
jmp 0x1000ddbc
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
push 0x1f60
lea eax, [ebp - 0x68]
push eax
push 0x64e3
push 1
push 1
push 0x75f1
push 0x1a17
push 0x871
push 0x33e9
call fcn.1000a1c1
add esp, 0x24
jmp 0x1000dd20
jmp 0x1000de17
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1000de17
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1000de35
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push 1
call fcn.1000ad75
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret