Function at 0x10027974
Capabilities:
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100279e4
lea eax, [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x100279ae
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x100279df
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10027d32
mov dword [ebp - 0xc], 0x5595
mov dword [ebp - 4], 0x90611bc3
mov dword [ebp - 8], 0x40c
mov dword [ebp - 0x54], 0xf8de905f
mov dword [ebp - 0x40], 0x265d6326
imul eax, dword [ebp - 4], 0x9e07
add eax, dword [ebp - 4]
imul eax, dword [ebp - 4]
test eax, eax
jne 0x10027a25
cmp dword [ebp - 4], 0
jne 0x10027a25
and dword [ebp - 0x4c], 0
jmp 0x10027a2c
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x4c], eax
jge 0x10027a3d
mov dword [ebp - 0x30], 1
jmp 0x10027a41
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x30]
imul eax, eax, 0x4128
imul eax, dword [ebp - 4]
cmp eax, 0xe418a527
je 0x10027a64
mov dword [ebp - 0x8c], 1
jmp 0x10027a6b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x64]
jle 0x10027a9e
mov dword [ebp - 0x48], 1
jmp 0x10027aa2
and dword [ebp - 0x48], 0
imul eax, dword [ebp - 0x48], 0xfff9
cmp eax, dword [ebp - 8]
jg 0x10027ab7
mov dword [ebp - 0x38], 1
jmp 0x10027abb
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x38], eax
je 0x10027acc
mov dword [ebp - 0x68], 1
jmp 0x10027ad0
and dword [ebp - 0x68], 0
cmp dword [ebp - 8], 0xcc7c
jg 0x10027ae2
mov dword [ebp - 0x58], 1
jmp 0x10027ae6
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
je 0x10027bc8
mov dword [ebp - 0x20], 0
jmp 0x10027b00
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10027b13
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x70], 0xfffffffd
jmp 0x10027af9
mov dword [ebp - 4], 0
jmp 0x10027b23
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10027bc3
mov dword [ebp - 8], 0
jmp 0x10027b3d
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10027bbe
mov dword [ebp - 0xc], 0
jmp 0x10027b53
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x10027bb9
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x14], 0
jmp 0x10027b70
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10027bb7
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x70], 0
je 0x10027b89
jmp 0x10027bb7
mov dword [ebp - 0x18], 0
jmp 0x10027b99
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10027bb5
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10027bb3
push 0
call dword [sym.imp.COMDLG32.dll_FindTextW]
jmp 0x10027b92
jmp 0x10027b69
jmp 0x10027b4c
jmp 0x10027b36
jmp 0x10027b1c
jmp 0x10027d1e
mov dword [ebp - 0x44], 0xfffffff7
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10027be6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10027bfc
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xac], 7
jmp 0x10027bdf
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 4], 0
jne 0x10027c18
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x10027c18
and dword [ebp - 0x50], 0
jmp 0x10027c1f
mov dword [ebp - 0x50], 1
imul eax, dword [ebp - 0x44], 0xffff
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10027c3e
cmp dword [ebp - 0x3c], 0
je 0x10027c3e
mov dword [ebp - 0x2c], 1
jmp 0x10027c42
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x2c]
jg 0x10027c53
mov dword [ebp - 0x34], 1
jmp 0x10027c57
and dword [ebp - 0x34], 0
imul eax, dword [ebp - 0x34], 0xf58a
test eax, eax
je 0x10027c71
cmp dword [ebp - 0x3c], 0
je 0x10027c71
mov dword [ebp - 0x28], 1
jmp 0x10027c75
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x28], eax
jg 0x10027c86
mov dword [ebp - 0x24], 1
jmp 0x10027c8a
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0xac], ecx
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x24], eax
jge 0x10027cb7
mov eax, 0x435d7d23
test eax, eax
jne 0x10027cb7
cmp dword [ebp - 8], 0
jne 0x10027cb7
and dword [ebp - 0x78], 0
jmp 0x10027cbe
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 4], 0x1082e70d
je 0x10027cd9
mov dword [ebp - 0x80], 1
jmp 0x10027cdd
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
mov eax, 0xf8d9
cmp eax, 0xffff
ja 0x10027cfb
mov dword [ebp - 0x5c], 1
jmp 0x10027cff
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10027d1e
push 0x23f2
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1c60
push 0x3c92
push 0
call fcn.100275bb
add esp, 0xc
mov esp, ebp
pop ebp
ret