Function at 0x10098cb4
Capabilities:
Get disk information
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x90c
push ebx
push esi
mov eax, 0x100e392c
push edi
push eax
mov dword [ebp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2a
push 2
sete byte [ebp + 0x65]
xor edi, edi
cmp byte [ebp + 0x65], 0
pop ebx
je 0x10098cec
add esi, ebx
mov dword [ebp + 0x78], esi
push ebx
push esi
push 0x100d3104
call fcn.10040df5
add esp, 0xc
test al, al
mov byte [ebp + 0x3f], al
jne 0x10098d19
push ebx
push esi
push 0x100d3100
call fcn.10040df5
add esp, 0xc
test al, al
mov byte [ebp + 0x6f], 0
je 0x10098d1d
mov byte [ebp + 0x6f], 1
push ebx
push esi
push 0x100ce79c
call fcn.10040df5
push 3
push esi
push 0x100d30fc
mov byte [ebp + 0x6d], al
call fcn.10040df5
push ebx
push esi
push 0x100ce790
mov byte [ebp - 0x29], al
call fcn.10040df5
add esp, 0x24
cmp byte [ebp + 0x6f], 0
mov byte [ebp + 0x66], al
jne 0x10098d67
cmp byte [ebp + 0x6d], 0
jne 0x10098d67
cmp byte [ebp - 0x29], 0
jne 0x10098d67
test al, al
mov dword [ebp], edi
je 0x10098d6e
mov dword [ebp], 1
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
pop ecx
push 5
lea ecx, [ebp + 0x40]
call fcn.10046141
push 0x14
lea ecx, [ebp + 0x5c]
call fcn.10046141
lea ecx, [ebp + 0x18]
call fcn.10046123
or dword [ebp + 0x20], 0xffffffff
mov eax, dword [ebp]
cmp byte [ebp + 0x66], 0
mov dword [ebp - 4], eax
sete al
dec al
push 0x43
pop edx
mov dword [ebp + 0x2c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x24], edi
and eax, 0x55
mov dword [ebp - 0x6c], edi
mov dword [ebp + 0x68], edi
mov byte [ebp + 0x67], al
mov dword [ebp - 0x58], edi
push 6
pop ebx
xor eax, eax
mov byte [ebp - 0x108], 0
mov ecx, ebx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0xeb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x108]
push eax
push edx
mov dword [ebp - 0x50], 0x3e8
mov byte [ebp + 0x3b], 0
mov byte [ebp + 0x6e], 0
mov byte [ebp + 0x6c], 0
mov byte [ebp + 0x13], 0
mov dword [ebp - 0x40], edx
mov byte [ebp + 0x3d], dl
mov byte [ebp - 0x19], 0
mov byte [ebp + 0x63], 0
mov dword [ebp + 4], eax
mov byte [ebp - 0xec], 0
call fcn.10043c82
pop ecx
mov byte [ebp + 0x3c], 0
mov byte [ebp + 0x5b], 0
mov byte [ebp + 0x47], 0
pop ecx
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x2d
je 0x10098e4b
cmp ax, 0x3d
jne 0x1009912e
push 2
lea eax, [ebp + 0x78]
push eax
push 0x100d30f8
call fcn.10048195
add esp, 0xc
test al, al
je 0x10098e68
mov byte [ebp + 0x3b], 1
jmp 0x10098e35
push ebx
lea eax, [ebp + 0x78]
push eax
push str._cdrom
call fcn.10048195
add esp, 0xc
test al, al
je 0x10098e87
mov dword [ebp - 0x6c], 1
jmp 0x10098e35
push 3
lea eax, [ebp + 0x78]
push eax
push 0x100cfb24
call fcn.10048195
add esp, 0xc
test al, al
je 0x10098ea4
mov byte [ebp + 0x47], 0x10
jmp 0x10098e35
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100cbc94
call fcn.10048195
add esp, 0xc
test al, al
je 0x10098ec3
mov byte [ebp + 0x5b], 1
jmp 0x10098e35
push ebx
push dword [ebp + 0x78]
push 0x100d30f0
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10098f22
mov edi, dword [ebp + 0x78]
add edi, 0xc
xor esi, esi
mov si, word [edi]
lea eax, [ebp + 0x78]
push eax
and esi, 0xffdf
call fcn.10008e60
cmp si, 0x41
pop ecx
jb 0x10098e35
cmp si, 0x5a
ja 0x10098e35
push dword [ebp + 0x78]
lea eax, [ebp - 0x108]
push edi
push eax
mov dword [ebp - 0x40], esi
call fcn.1004bfa8
add esp, 0xc
jmp 0x10098e35
push ebx
push dword [ebp + 0x78]
push str._SKIP
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10098f6f
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x28], 0x42
call fcn.10053a89
mov al, byte [ebp + 0x28]
mov byte [ebp - 0x19], al
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
add esp, 0x10
jmp 0x10098e35
push 8
push dword [ebp + 0x78]
push str._skiptp:
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10099051
add dword [ebp + 0x78], 0x10
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
cmp word [ebp - 0x58], 0x3c
pop ecx
jge 0x100990e7
xor eax, eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, byte [ebp + 0x63]
mov edi, dword [ebp + 0x78]
mov ecx, eax
shl ecx, 4
lea esi, [ebp + ecx - 0x89c]
add esi, eax
push 1
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.100563b5
add esp, 0xc
test eax, eax
setge al
test al, al
mov byte [esi], al
jne 0x10099016
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], edi
call fcn.100935c9
test eax, eax
pop ecx
pop ecx
jle 0x100990e7
push 0x10
lea eax, [ebp - 0xcc]
push eax
inc esi
push esi
call fcn.100144ff
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
add esp, 0xc
inc byte [ebp + 0x63]
test ax, ax
je 0x100990e7
call fcn.10002df6
test al, al
jne 0x100990e7
add dword [ebp + 0x78], 2
jmp 0x10098fa2
push 8
push dword [ebp + 0x78]
push str._skippt:
call fcn.10040df5
add esp, 0xc
test al, al
je 0x100990f5
add dword [ebp + 0x78], 0x10
or eax, 0xffffffff
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
jmp 0x100990e0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1009377c
test eax, eax
pop ecx
pop ecx
jle 0x100990e7
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1009377c
test eax, eax
pop ecx
pop ecx
jle 0x100990e7
movsx eax, word [ebp - 0x58]
mov cx, word [ebp - 0x94]
shl eax, 2
inc dword [ebp - 0x58]
mov word [ebp + eax - 0x1f8], cx
mov cx, word [ebp - 0x8c]
mov word [ebp + eax - 0x1f6], cx
cmp word [ebp - 0x58], 0x3c
jl 0x1009908c
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
jmp 0x10098e34
push ebx
lea eax, [ebp + 0x78]
push eax
push str._check
call fcn.10048195
add esp, 0xc
test al, al
je 0x10099114
mov byte [ebp + 0x3c], 1
jmp 0x10098e35
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100d30c8
call fcn.10048195
add esp, 0xc
test al, al
jne 0x10098e35
mov edx, dword [ebp + 0x78]
mov ax, word [edx]
test ax, ax
je 0x100991a1
push 0x2a
pop edi
cmp ax, di
jne 0x10099166
lea ecx, [edx + 2]
cmp word [ecx], di
jne 0x10099158
mov edx, ecx
mov dword [ebp - 4], 1
mov byte [ebp + 0x47], 0x10
jmp 0x10099192
cmp ax, di
jne 0x10099166
mov dword [ebp - 4], 1
jmp 0x10099192
cmp ax, 0x26
jne 0x10099172
or dword [ebp - 0x18], 8
jmp 0x10099192
cmp ax, 0x2d
jne 0x100991a4
xor eax, eax
mov ax, word [edx + 2]
push eax
call fcn.10045b88
add esp, 4
test al, al
jne 0x100991a4
mov dword [ebp + 0x24], 1
inc edx
inc edx
mov ax, word [edx]
test ax, ax
mov dword [ebp + 0x78], edx
jne 0x10099139
jmp 0x100991a4
push 0x2a
pop edi
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
pop ecx
call fcn.10043cab
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
test ax, ax
jne 0x100991cc
or dword [ebp + 0x68], 0xffffffff
or dword [ebp + 0x20], 0xffffffff
and dword [ebp - 0x80], 0
and dword [ebp - 8], 0
test ax, ax
je 0x100994d3
push 0x2c
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004907a
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp word [eax], 0x2c
jne 0x10099244
add dword [ebp + 0x78], 2
mov esi, dword [ebp + 0x78]
push 0x2c
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004907a
xor eax, eax
mov ax, word [esi]
mov ebx, 0xffdf
add esp, 0xc
and eax, ebx
cmp ax, 0x41
jb 0x10099249
cmp ax, 0x5a
ja 0x10099249
push dword [ebp + 0x78]
mov byte [ebp + 0x3d], al
mov byte [ebp + 0x67], al
lea eax, [ebp - 0xec]
push esi
push eax
call fcn.1004bfa8
add esp, 0xc
jmp 0x10099249
mov ebx, 0xffdf
mov eax, dword [ebp + 0x78]
push 0x2c
pop esi
cmp word [eax], si
jne 0x10099269
add dword [ebp + 0x78], 2
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004930e
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x100992e5
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x28], eax
lea eax, [ebp + 0x28]
push eax
call fcn.1003f9c4
push esi
lea eax, [ebp + 0x78]
call fcn.100a1095
mov edx, dword [ebp + 0x28]
pop ecx
pop ecx
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
and eax, ebx
cmp dword [ebp + 0x68], 0
jg 0x100992a7
cmp cx, di
jne 0x100992a7
mov dword [ebp - 0x80], edi
cmp ax, 0x41
jb 0x100992ce
cmp ax, 0x5a
ja 0x100992ce
push dword [ebp + 0x78]
mov byte [ebp + 0x3d], al
mov byte [ebp + 0x67], al
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.1004bfa8
add esp, 0xc
jmp 0x100992e5
cmp cx, 0x3f
jne 0x100992e5
cmp byte [ebp + 0x6f], 0
jne 0x100992e0
cmp byte [ebp + 0x6d], 0
je 0x100992e5
mov al, byte [edx]
mov byte [ebp + 0x67], al
mov edx, dword [ebp + 0x78]
push 0x2c
pop esi
cmp word [edx], si
jne 0x1009937a
xor eax, eax
lea ecx, [edx + 2]
mov ax, word [ecx]
push eax
call fcn.10045b88
add esp, 4
test al, al
je 0x10099328
push esi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], ecx
call fcn.1004930e
mov edx, dword [ebp + 0x78]
add esp, 0xc
cmp word [edx], 0
je 0x10099328
inc edx
inc edx
cmp word [edx], si
jne 0x1009937a
inc edx
lea eax, [ebp + 0x28]
inc edx
push eax
mov dword [ebp + 0x78], edx
mov dword [ebp + 0x28], edx
call fcn.1003f9c4
push esi
lea eax, [ebp + 0x78]
call fcn.100a1095
pop ecx
pop ecx
mov ecx, dword [ebp + 0x28]
xor eax, eax
mov ax, word [ecx]
and eax, ebx
cmp ax, 0x41
jb 0x1009937a
cmp ax, 0x5a
ja 0x1009937a
push dword [ebp + 0x78]
movsx ax, al
mov word [ebp - 0x40], ax
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.1004bfa8
add esp, 0xc
mov esi, dword [ebp + 0x18]
xor edx, edx
mov dx, word [esi]
mov dword [ebp + 0x78], esi
mov ecx, edx
push edx
and ecx, ebx
call fcn.10045b88
add esp, 4
test al, al
jne 0x10099407
cmp dx, 0x2d
jne 0x100993af
xor eax, eax
mov ax, word [esi + 2]
push eax
call fcn.10045b88
add esp, 4
test al, al
jne 0x10099407
cmp cx, 0x46
jne 0x100993c8
add esi, 2
or dword [ebp - 8], 0xffffffff
mov byte [ebp + 0x6e], 0xc
mov dword [ebp + 0x78], esi
jmp 0x10099448
cmp cx, 0x55
je 0x100993f0
cmp cx, 0x52
je 0x100993f0
cmp dx, 0x3a
je 0x10099448
cmp dx, 0x23
je 0x10099448
cmp dword [ebp + 0x24], 0
jne 0x10099448
test dx, dx
je 0x10099448
jmp 0x10099721
add esi, 2
mov byte [ebp + 0x6e], 0xc
mov dword [ebp - 8], 1
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x13], 1
jmp 0x10099448
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], esi
call fcn.10042554
movzx esi, word [esi]
test si, si
pop ecx
pop ecx
je 0x1009943e
mov eax, esi
cmp ax, 0x3a
je 0x1009943e
cmp ax, 0x23
je 0x1009943e
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
test ax, ax
jne 0x10099423
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
pop ecx
mov eax, dword [ebp + 0x78]
xor edx, edx
cmp word [eax], dx
jne 0x10099461
mov eax, dword [ebp + 0x40]
cmp word [eax], dx
je 0x10099461
mov dword [ebp + 0x24], 1
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x3a
pop ecx
je 0x10099481
cmp ax, 0x23
jne 0x100994d3
mov byte [ebp + 0x6c], 1
cmp byte [ebp + 0x6e], 0
jne 0x1009948c
cmp dword [ebp + 0x20], edx
jge 0x10099490
mov byte [ebp + 0x6c], 0
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
pop ecx
jne 0x100994c1
movzx eax, word [eax + 2]
push eax
call fcn.10045b88
add esp, 4
test al, al
jne 0x100994c1
mov dword [ebp + 0x24], 1
jmp 0x100994d3
push 0x2c
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004930e
add esp, 0xc
cmp byte [ebp + 0x6c], 0
mov eax, dword [ebp + 0x68]
push 4
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x10], eax
pop ecx
je 0x1009951f
test eax, eax
jg 0x100994f5
xor esi, esi
inc esi
jmp 0x10099726
cmp eax, ecx
jg 0x100994fc
dec eax
jmp 0x10099503
lea eax, [eax*4 - 0x10]
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x10099511
cmp eax, ecx
jge 0x10099515
inc eax
jmp 0x1009951c
cmp eax, ecx
jl 0x1009951f
cdq
mov esi, ecx
idiv esi
add eax, ecx
mov dword [ebp + 0x68], eax
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 5
push eax
lea ecx, [ebp + 0x40]
call fcn.10046168
mov edi, dword [ebp + 0x40]
mov ax, word [edi]
cmp ax, 0x61
jb 0x1009954b
cmp ax, 0x7a
ja 0x1009954b
add word [edi], 0xffe0
mov ax, word [edi]
xor ecx, ecx
mov cx, 0x5a
cmp cx, ax
mov byte [ebp - 0x31], 0
sbb ecx, ecx
neg ecx
xor ebx, ebx
cmp byte [ebp + 0x6e], bl
mov dword [ebp - 0xd0], ecx
jne 0x100995b3
cmp dword [ebp + 0x24], ebx
jne 0x100995b3
cmp ax, 0x100
jae 0x100995b3
cmp ax, 0x41
jb 0x10099583
cmp ax, 0x5a
jbe 0x100995b3
xor esi, esi
inc esi
cmp dword [ebp + 0x20], ebx
mov word [edi], bx
jl 0x10099598
mov eax, dword [ebp + 0x68]
cmp eax, esi
jl 0x10099598
mov dword [ebp - 0x14], eax
cmp byte [ebp + 0x6c], 0
je 0x100995b6
cmp dword [ebp + 0x20], ebx
jl 0x100995b6
mov eax, dword [ebp + 0x68]
cmp eax, ebx
jl 0x100995b6
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x31], 1
jmp 0x100995b6
xor esi, esi
inc esi
cmp dword [ebp], ebx
je 0x100995c5
test byte [ebp + 0x2c], 1
mov byte [ebp + 0x3a], 1
jne 0x100995c9
mov byte [ebp + 0x3a], 0
cmp dword [ebp], ebx
je 0x100995d8
test byte [ebp + 0x2c], 2
je 0x100995d8
mov byte [ebp + 0x3c], 1
cmp byte [ebp + 0x3f], 0
jne 0x100995ed
cmp dword [ebp], ebx
je 0x100995e9
test byte [ebp + 0x2c], 4
jne 0x100995ed
xor cl, cl
jmp 0x100995ef
mov cl, 1
mov al, byte [ebp + 0x2c]
and al, 0x10
mov byte [ebp - 0x62], al
mov al, byte [ebp + 0x2c]
and al, 0x40
test byte [ebp + 0x2c], 0x20
mov byte [ebp - 0x61], al
je 0x10099608
mov dword [ebp - 0x6c], esi
test cl, cl
je 0x100996de
mov bl, byte [ebp + 0x63]
movzx eax, bl
shl eax, 2
and word [ebp + eax - 0x1f8], 0
push 0x10
lea esi, [ebp + eax - 0x1f6]
push 0
push esi
call fcn.100b40f0
inc bl
movzx eax, bl
shl eax, 2
mov word [esi], 0xee
and word [ebp + eax - 0x1f8], 0
push 0x10
lea esi, [ebp + eax - 0x1f6]
push 0
push esi
call fcn.100b40f0
inc bl
movzx eax, bl
shl eax, 2
mov word [esi], 0xef
push 0x10
mov word [ebp + eax - 0x1f8], 1
lea eax, [ebp + eax - 0x1f6]
push 0x100d30b8
push eax
call fcn.100144ff
inc bl
movzx eax, bl
shl eax, 2
push 0x10
mov word [ebp + eax - 0x1f8], 1
lea eax, [ebp + eax - 0x1f6]
push 0x100d30a8
push eax
call fcn.100144ff
inc bl
movzx eax, bl
shl eax, 2
push 0x10
mov word [ebp + eax - 0x1f8], 1
lea eax, [ebp + eax - 0x1f6]
push 0x100d3098
push eax
call fcn.100144ff
add esp, 0x3c
inc bl
mov byte [ebp + 0x63], bl
xor esi, esi
xor ebx, ebx
inc esi
cmp dword [ebp + 0x20], ebx
mov dword [ebp - 0x60], ebx
jl 0x100996ef
cmp dword [ebp + 0x68], ebx
jle 0x100996ef
mov al, 1
jmp 0x100996f1
xor al, al
test al, al
mov dword [ebp - 0x38], ebx
je 0x100996fb
mov dword [ebp - 0x38], esi
mov ax, word [edi]
push 0x64
lea ecx, [ebp + 0x5c]
mov word [ebp - 0x20], ax
call fcn.10046168
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp byte [ebp + 0x66], 0
mov dword [ebp - 0x5c], eax
je 0x10099748
cmp byte [ebp + 0x67], 0
jne 0x10099748
mov esi, 0x80070057
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
push 0x100e392c
jmp 0x1009acd3
cmp dword [ebp - 8], ebx
jg 0x10099753
cmp byte [ebp + 0x66], 0
je 0x1009977b
cmp byte [ebp - 0xec], 0
movsx ax, byte [ebp + 0x67]
mov word [ebp - 0x40], ax
je 0x1009976e
lea eax, [ebp - 0xec]
mov dword [ebp + 4], eax
cmp byte [ebp + 0x66], 0
je 0x1009977b
mov byte [ebp + 0x6e], 0xc
mov dword [ebp - 8], esi
cmp dword [ebp], ebx
jne 0x1009978c
cmp dword [ebp - 8], ebx
jle 0x1009978c
mov byte [ebp + 0x6e], 0xb
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x24], ebx
mov dword [ebp - 0x70], esi
jne 0x100998c3
cmp dword [ebp - 0x10], ebx
jle 0x100997a7
cmp byte [ebp + 0x5b], 0
jne 0x100998c3
cmp dword [ebp + 0x20], ebx
mov byte [ebp + 0x1f], 1
jl 0x100998c7
cmp dword [ebp + 0x68], ebx
mov byte [ebp + 0x3e], 1
mov byte [ebp + 0x3f], 1
jg 0x100997c5
mov byte [ebp + 0x3f], 0
xor eax, eax
cmp dword [ebp - 8], ebx
push 0x3960
setle al
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x28], eax
call fcn.10045fcc
cmp dword [ebp - 0x6c], ebx
mov byte [ebp - 0x32], 0
mov dword [ebp - 0xac], esi
jle 0x100997f6
mov dword [ebp - 0xac], 9
cmp byte [ebp + 0x6f], 0
jne 0x10099802
cmp byte [ebp + 0x6d], 0
je 0x10099820
cmp byte [ebp + 0x67], 0x3f
jne 0x10099820
push 0x1b
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100144ff
add esp, 0xc
cmp dword [ebp], ebx
mov byte [ebp + 0x5b], 0
jg 0x10099832
cmp dword [ebp - 0x10], ebx
jg 0x10099832
mov byte [ebp + 0x5b], 1
cmp byte [ebp + 0x6c], 0
jne 0x1009984e
cmp byte [ebp + 0x3b], 0
je 0x1009984e
cmp dword [ebp + 0x20], ebx
jl 0x1009984e
cmp dword [ebp - 0x10], ebx
jle 0x1009984e
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x14], eax
push 0x20fa38
lea ecx, [ebp + 0x48]
call fcn.10045fcc
cmp byte [ebp + 0x3e], 0
mov eax, dword [ebp + 0x48]
lea edi, [eax + 0x20c010]
lea ecx, [eax + 0x20f970]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x84], ecx
jne 0x100998d0
cmp byte [ebp + 0x65], 0
jne 0x100998d0
cmp byte [ebp + 0x6e], 0
jne 0x100998d0
xor esi, esi
cmp dword [ebp - 0x14], esi
jge 0x100998d2
cmp byte [ebp + 0x6c], 0
jne 0x100998d2
mov ebx, dword [ebp + 0x40]
cmp word [ebx], si
jne 0x100998a5
cmp dword [ebp - 0x10], esi
je 0x100998d2
cmp dword [ebp - 0x10], 0xffffffff
je 0x100998d2
cmp dword [ebp + 0x24], esi
je 0x1009aaad
cmp dword [ebp + 0x20], esi
jl 0x1009aaa3
cmp dword [ebp - 0x10], 1
jl 0x1009aaa3
jmp 0x100998d2
mov byte [ebp + 0x1f], 0
mov byte [ebp + 0x3e], 0
jmp 0x100997c1
xor esi, esi
push dword [ebp - 0xac]
push eax
push edi
call fcn.10055460
add esp, 0xc
cmp byte [ebp + 0x3a], 0
je 0x100998ee
cmp byte [ebp - 0x32], 0
jne 0x1009995f
cmp byte [ebp - 0x61], 0
je 0x10099948
push 0x1a
lea esi, [edi + 0x10]
pop ebx
mov eax, dword [esi]
test eax, eax
jle 0x1009993f
mov dl, byte [ebp - 0x108]
lea ecx, [ebp - 0x108]
jmp 0x10099918
movsx edx, dl
cmp edx, eax
je 0x1009993f
inc ecx
mov dl, byte [ecx]
test dl, dl
jne 0x1009990e
mov dl, byte [ebp - 0xec]
lea ecx, [ebp - 0xec]
jmp 0x10099934
movsx edx, dl
cmp edx, eax
je 0x1009993f
inc ecx
mov dl, byte [ecx]
test dl, dl
jne 0x1009992a
or eax, 0xe000
mov dword [esi], eax
add esi, 0x220
dec ebx
jne 0x100998fa
push 0x3960
push edi
push dword [ebp + 0xc]
call fcn.100144ff
add esp, 0xc
mov byte [ebp - 0x32], 1
xor esi, esi
mov eax, dword [ebp - 0x20]
mov word [ebp + 0x30], ax
mov word [ebp - 0x28], ax
xor eax, eax
cmp byte [ebp + 0x6e], 5
mov word [ebp + 0x32], 0x3a
sete al
mov word [ebp + 0x34], si
mov word [ebp - 0x26], 0x3a
mov word [ebp - 0x24], 0x5c
mov word [ebp - 0x22], si
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
cmp eax, esi
jl 0x100999a9
mov dword [ebp - 0x7c], 0x7530
jmp 0x100999c9
mov dword [ebp - 0x7c], esi
dec dword [ebp - 0x50]
cmp dword [ebp - 0x50], esi
jle 0x10099fa2
cmp word [ebp - 0x7c], 0x3e80
jge 0x10099fa2
mov eax, dword [ebp - 0x7c]
xor esi, esi
cmp dword [ebp - 0x48], esi
mov dword [ebp + 0x14], eax
mov ecx, str..CDROM_d
jne 0x100999db
mov ecx, str..PhysicalDrive_d
movsx eax, word [ebp + 0x14]
push eax
push ecx
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor ebx, ebx
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
push dword [ebp - 0x84]
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x50], ebx
call fcn.10005b9d
mov esi, dword [ebp + 0x50]
cmp esi, ebx
je 0x1009a8ab
or eax, 0xffffffff
cmp byte [ebp + 0x1f], bl
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
je 0x10099a61
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp + 0x78]
push eax
push esi
call fcn.100566f2
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
cmp byte [ebp + 0x6e], 0
je 0x10099ae5
push 0x800
push 1
push dword [ebp + 0x48]
push esi
call fcn.1004b0ea
add esp, 0x10
cmp byte [ebp + 0x6e], 5
mov edi, eax
je 0x10099a90
cmp edi, 0xb
jne 0x10099a90
cmp byte [ebp + 0x6e], al
jne 0x1009a8b9
cmp dword [ebp - 8], ebx
jne 0x10099a9b
cmp byte [ebp + 0x13], 0
jle 0x10099acb
push esi
push ebx
call fcn.100480aa
cmp dword [ebp - 8], ebx
pop ecx
pop ecx
jg 0x10099aaf
cmp byte [ebp + 0x13], 0
jle 0x10099ab8
cmp eax, 7
jne 0x1009a8b9
cmp dword [ebp - 8], ebx
jge 0x10099ac9
cmp eax, 7
je 0x1009a8b9
cmp dword [ebp - 8], ebx
jne 0x10099ad3
cmp edi, 0xc
jne 0x10099ad3
push 0xb
pop edi
cmp byte [ebp + 0x6e], 5
je 0x10099ae5
movsx eax, byte [ebp + 0x6e]
cmp edi, eax
jne 0x1009a8b9
push ebx
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x48]
push eax
push esi
mov dword [ebp - 0xc], ebx
mov byte [ebp + 0x64], 0xff
call fcn.1004c08b
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1009a8b9
cmp dword [esi], 1
push 0x200
push dword [ebp + 0x50]
lea eax, [esi + 0x30]
mov dword [ebp - 0x78], eax
sete byte [ebp + 0x7b]
call fcn.1004342a
cmp byte [ebp + 0x64], 0
pop ecx
pop ecx
mov ebx, eax
jl 0x10099b35
push 0x10
pop ecx
jmp 0x10099b37
xor ecx, ecx
mov al, byte [ebp + 0x7b]
mov esi, dword [esi + 0x28]
or al, cl
cmp byte [ebp + 0x64], 0
mov byte [ebp + 0x4f], al
jl 0x10099b54
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x68], eax
jmp 0x10099be3
cmp byte [ebp + 0x6c], 0
je 0x10099bd7
cmp byte [ebp + 0x7b], 0
je 0x10099bbc
mov edi, dword [ebp + 0x48]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ebx
push esi
add edi, 0x200010
lea eax, [ebp + 0x50]
push edi
push eax
call fcn.1004af4c
add esp, 0x24
cmp dword [ebp - 0x10], esi
jg 0x1009a8b9
mov eax, dword [ebp - 0x10]
push 1
push ebx
push dword [ebp - 0xc]
shl eax, 6
push dword [ebp - 0x78]
add eax, ebx
lea eax, [edi + eax*2 - 0x80]
push eax
call fcn.1004ae23
add esp, 0x14
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x1009a8b9
cmp byte [ebp - 0x31], 0
je 0x10099be3
mov dword [ebp - 0x14], eax
jmp 0x10099be3
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x10099bda
cmp eax, 4
lea ecx, [eax - 1]
jle 0x10099bd2
lea ecx, [eax*4 - 0x10]
mov dword [ebp + 0x68], ecx
jmp 0x10099bda
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x1009a8b9
push dword [ebp + 0x50]
xor esi, esi
push esi
call fcn.100480aa
cmp eax, 7
pop ecx
pop ecx
je 0x10099c2b
cmp byte [ebp + 0x4f], 0
jne 0x10099c2b
cmp dword [ebp - 0xc], 4
jne 0x10099c2b
mov cl, byte [ebp - 0x19]
mov eax, dword [ebp - 0x78]
cmp cl, byte [eax + 0x20]
jne 0x10099c2b
cmp byte [eax + 0xb0], 0
jne 0x10099c2b
cmp byte [eax + 0x140], 0
jne 0x10099c2b
cmp byte [eax + 0x1d0], 0
je 0x1009a8b9
dec dword [ebp - 0x50]
cmp dword [ebp - 0x50], esi
mov dword [ebp - 0x74], esi
mov dword [ebp + 0x2c], esi
jle 0x1009a8b9
mov esi, dword [ebp + 0x2c]
cmp esi, dword [ebp - 0xc]
jge 0x1009a8b9
lea ecx, [ebp + 0x54]
mov dword [ebp - 0xa4], esi
call fcn.1003f852
cmp dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
je 0x10099c69
lea ecx, [eax + 0x186a0]
mov dword [ebp + 0x2c], ecx
cmp byte [ebp + 0x6c], 0
jne 0x10099c75
cmp byte [ebp + 0x64], 0
jl 0x10099cd9
cmp dword [ebp + 0x68], 0
jl 0x10099cd9
cmp byte [ebp + 0x64], 0
lea ecx, [eax + 0x186a0]
mov dword [ebp + 0x2c], ecx
jl 0x10099cc2
xor esi, esi
test eax, eax
jle 0x1009a8b9
mov eax, dword [ebp - 0x78]
add eax, 0x18
movsx ecx, word [eax]
cmp ecx, dword [ebp - 0x10]
je 0x10099cb2
inc esi
add eax, 0x90
cmp esi, dword [ebp - 0xc]
jl 0x10099c9a
jmp 0x1009a8b9
test esi, esi
mov dword [ebp - 0xa4], esi
jl 0x1009a8b9
jmp 0x10099cd9
cmp byte [ebp + 0x6c], 0
je 0x10099cd9
mov esi, dword [ebp + 0x68]
cmp esi, eax
mov dword [ebp - 0xa4], esi
jge 0x1009a8b9
cmp byte [ebp + 0x7b], 0
je 0x10099ce9
mov ebx, 0xff07
mov dword [ebp - 0x30], ebx
jmp 0x10099cfc
mov ecx, dword [ebp - 0x78]
lea eax, [esi + esi*8]
shl eax, 4
movzx eax, byte [eax + ecx + 0x20]
mov dword [ebp - 0x30], eax
mov ebx, eax
mov ecx, dword [ebp - 0x78]
lea eax, [esi + esi*8]
shl eax, 4
add eax, ecx
movsx edx, word [eax + 0x18]
mov dword [ebp - 0x54], eax
movsx eax, word [ebp - 0x58]
xor ecx, ecx
test eax, eax
mov dword [ebp + 8], edx
jle 0x10099d3a
mov si, word [ebp + 0x14]
cmp si, word [ebp + ecx*4 - 0x1f8]
jne 0x10099d35
movsx esi, word [ebp + ecx*4 - 0x1f6]
cmp edx, esi
je 0x10099d3a
inc ecx
cmp ecx, eax
jl 0x10099d1b
cmp ecx, eax
jl 0x1009a899
cmp byte [ebp + 0x63], 0
jbe 0x10099d9f
cmp byte [ebp + 0x4f], 0
movzx edi, byte [ebp + 0x63]
sete bl
and dword [ebp - 0x44], 0
dec bl
and bl, 0xf
inc bl
test edi, edi
jle 0x10099d93
lea esi, [ebp - 0x89b]
mov al, byte [ebp + 0x4f]
cmp al, byte [esi - 1]
jne 0x10099d88
movzx eax, bl
push eax
mov eax, dword [ebp - 0x54]
add eax, 0x20
push esi
push eax
call fcn.10046443
add esp, 0xc
test eax, eax
jne 0x10099d93
inc dword [ebp - 0x44]
add esi, 0x11
cmp dword [ebp - 0x44], edi
jl 0x10099d68
cmp dword [ebp - 0x44], edi
jl 0x1009a899
mov ebx, dword [ebp - 0x30]
cmp byte [ebp + 0x65], 0
je 0x10099dab
cmp dword [ebp + 0x68], 0
jge 0x10099dc9
cmp byte [ebp + 0x3f], 0
je 0x10099e5e
cmp byte [ebp + 0x6c], 0
jne 0x10099e5e
cmp dword [ebp + 0x68], 0
jle 0x10099e5e
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0x68]
jne 0x1009a899
cmp byte [ebp + 0x65], 0
je 0x10099e4e
test bl, 0x10
jne 0x10099e08
cmp ebx, 0x84
je 0x10099e08
cmp ebx, 0xef
je 0x10099e08
cmp byte [ebp + 0x4f], 1
mov edx, dword [ebp - 0x54]
jne 0x10099e51
mov ecx, dword [edx + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
je 0x10099e51
lea ecx, [ebp + 0x50]
call fcn.10002d56
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], 0
je 0x10099e47
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1009aa7e
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x186a0
mov dword [ebp + 0x2c], eax
jmp 0x10099e64
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp + 8]
cmp byte [ebp + 0x1f], 0
je 0x10099eaf
mov ecx, dword [edx + 0xc]
test ecx, ecx
mov eax, dword [edx + 8]
jl 0x10099eaf
jg 0x10099e7a
test eax, eax
jbe 0x10099eaf
cmp dword [ebp - 0x8c], eax
jne 0x10099e8a
cmp dword [ebp - 0x88], ecx
je 0x10099e9a
cmp dword [ebp - 0x94], eax
jne 0x10099eaf
cmp dword [ebp - 0x90], ecx
jne 0x10099eaf
cmp word [ebp - 0x80], 0
je 0x1009a899
test edi, edi
jle 0x1009a899
jmp 0x10099ef7
cmp dword [ebp - 0x48], 0
jne 0x10099ed7
test ebx, ebx
je 0x1009a899
test edi, edi
jle 0x1009a899
cmp ebx, 5
je 0x1009a899
cmp ebx, 0xf
je 0x1009a899
cmp dword [ebp + 0x68], 0
jg 0x10099f1e
cmp dword [edx + 0x14], 0
jg 0x10099f1e
jl 0x10099eee
cmp dword [edx + 0x10], 0x200
ja 0x10099f1e
test bl, 0x10
je 0x1009a899
movzx ecx, byte [ebp + 0x47]
xor eax, eax
push eax
push eax
push 1
or ecx, 1
push ecx
push eax
movsx eax, word [ebp + 0x14]
push dword [ebp + 8]
push eax
push dword [ebp - 0x3c]
call fcn.10043478
add esp, 0x20
jmp 0x1009a899
inc dword [ebp - 0x98]
cmp byte [ebp + 0x6c], 0
jne 0x10099f39
cmp dword [ebp - 0x14], 1
jl 0x10099f39
cmp dword [ebp - 0x14], edi
jne 0x1009a899
xor eax, eax
cmp dword [ebp - 0x14], eax
jl 0x10099f4c
mov ecx, dword [ebp - 0xc]
add ecx, 0x3e8
mov dword [ebp + 0x2c], ecx
cmp byte [ebp + 0x6c], 0
jne 0x1009a72a
cmp dword [ebp + 0x68], eax
jl 0x10099f68
cmp dword [ebp + 0x68], edi
jne 0x10099f68
cmp edi, eax
jg 0x1009a72a
cmp word [ebp - 0x80], ax
jne 0x1009a899
cmp dword [ebp + 0x24], 0
jne 0x10099fba
cmp dword [ebp - 0x14], 0
jge 0x10099fba
mov esi, dword [ebp + 0x68]
test esi, esi
jle 0x10099fbd
cmp dword [ebp - 0x98], esi
jl 0x10099fbd
movsx eax, word [ebp + 0x14]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x68], eax
lea ecx, [ebp + 0x50]
call fcn.10002d56
mov cl, byte [ebp + 0x6d]
inc dword [ebp - 0x70]
cmp cl, 1
jne 0x1009a8cb
mov byte [ebp + 0x6d], 2
jmp 0x1009a8d9
mov esi, dword [ebp + 0x68]
or dword [ebp - 0x68], 0xffffffff
test esi, esi
je 0x10099fcb
cmp byte [ebp + 0x65], 0
je 0x1009a026
cmp byte [ebp + 0x7b], 0
jne 0x1009a237
test bl, 0x10
jne 0x10099fee
cmp ebx, 0x84
je 0x10099fee
cmp ebx, 0xef
jne 0x1009a24a
cmp byte [ebp - 0x62], 0
je 0x1009a026
xor edx, edx
movsx eax, dx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x3c]
shl ecx, 5
add eax, ecx
movsx ecx, word [ebp + 0x14]
cmp dword [eax + 4], ecx
jne 0x1009a01f
cmp dword [eax], edi
jne 0x1009a01f
cmp dword [eax + 0x10], 0
jg 0x1009a25e
inc edx
cmp dx, 0x1a
jl 0x10099ff6
cmp byte [ebp + 0x3e], 0
je 0x1009a030
cmp esi, edi
je 0x1009a048
test esi, esi
jl 0x1009a048
cmp dword [ebp + 0x24], 0
je 0x1009a03e
cmp esi, edi
je 0x1009a048
cmp dword [ebp - 0x14], 0
jl 0x1009a899
xor bl, bl
xor edi, edi
mov dword [ebp - 0x44], edi
movsx eax, di
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x3c]
shl ecx, 5
lea esi, [ecx + eax]
mov eax, dword [esi + 8]
cmp eax, 5
je 0x1009a079
cmp dword [ebp - 0x48], 0
je 0x1009a083
cmp eax, 5
jne 0x1009a157
cmp dword [ebp - 0x48], 0
je 0x1009a157
movsx eax, word [ebp + 0x14]
cmp dword [esi + 4], eax
jne 0x1009a157
mov eax, dword [ebp + 8]
cmp dword [esi], eax
jne 0x1009a157
cmp dword [esi + 0x10], 0
jle 0x1009a157
cmp dword [ebp + 0x24], 0
movzx ax, byte [esi + 0x10]
mov bl, 1
mov word [ebp - 0x44], ax
je 0x1009a16c
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
call fcn.10043b2f
mov eax, dword [ebp - 0xc]
mov si, word [esi + 0x10]
add eax, 0x3e8
cmp dword [ebp], 0
pop ecx
pop ecx
mov dword [ebp + 0x2c], eax
mov word [ebp + 0x30], si
mov word [ebp - 0x28], si
je 0x1009a102
movzx eax, si
push eax
push dword [ebp + 8]
movsx eax, word [ebp + 0x14]
push eax
push str.Unshow_pt:__d:_d__c_r_n
push 0x100e3108
call fcn.10011029
add esp, 0x14
cmp dword [ebp - 4], 0
je 0x1009a11c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1009a11c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x5c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x1009a148
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], 0
je 0x1009a157
push dword [ebp + 0x30]
call fcn.100432f8
pop ecx
inc edi
cmp di, 0x1a
jl 0x1009a04f
cmp dword [ebp + 0x24], 0
jne 0x1009a899
cmp word [ebp - 0x68], 0
jg 0x1009a1bf
cmp byte [ebp + 0x65], 0
je 0x1009a1bf
cmp byte [ebp + 0x7b], 0
jne 0x1009a1a9
test byte [ebp - 0x30], 0x10
jne 0x1009a899
cmp dword [ebp - 0x30], 0x84
je 0x1009a899
cmp dword [ebp - 0x30], 0xef
je 0x1009a899
cmp byte [ebp + 0x7b], 0
je 0x1009a1bf
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
jne 0x1009a899
mov eax, dword [ebp + 4]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0xb4], eax
xor eax, eax
cmp dword [ebp], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xa8], eax
je 0x1009a4a0
cmp byte [ebp + 0x3a], al
jne 0x1009a1f0
cmp byte [ebp + 0x3c], al
je 0x1009a280
xor esi, esi
mov edx, dword [ebp + 0xc]
movsx eax, si
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 5
lea eax, [ecx + edx]
mov ecx, dword [eax + 8]
cmp ecx, 5
je 0x1009a218
cmp dword [ebp - 0x48], 0
je 0x1009a21e
cmp ecx, 5
jne 0x1009a22e
cmp dword [ebp - 0x48], 0
je 0x1009a22e
movsx ecx, word [ebp + 0x14]
cmp dword [eax + 4], ecx
jne 0x1009a22e
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
je 0x1009a26a
inc esi
cmp si, 0x1a
jl 0x1009a1f2
jmp 0x1009a280
mov ecx, dword [edx + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
jne 0x10099fee
test esi, esi
mov dword [ebp - 0x68], 2
je 0x1009a048
jmp 0x1009a026
mov dword [ebp - 0x68], 1
jmp 0x1009a048
movsx eax, si
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 5
mov ax, word [ecx + edx + 0x10]
mov word [ebp - 0x30], ax
inc dword [ebp - 0x74]
xor esi, esi
inc esi
lea ecx, [edi - 0x41]
shl esi, cl
cmp byte [ebp - 0x29], 0
je 0x1009a2af
cmp byte [ebp + 0x6d], 0
je 0x1009a2c0
cmp dword [ebp - 0xa4], 4
jle 0x1009a2c0
inc dword [ebp - 0x74]
cmp byte [ebp + 0x6d], 1
je 0x1009a899
jmp 0x1009a2c0
cmp byte [ebp + 0x6d], 1
jne 0x1009a2c0
mov eax, dword [ebp - 0xc]
add eax, 0x3e8
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x6d], 2
mov ebx, dword [ebp - 0x44]
jne 0x1009a2d8
test bx, bx
je 0x1009a2d8
cmp dword [ebp - 0x74], 1
je 0x1009a899
cmp byte [ebp + 0x3a], 0
je 0x1009a2f3
cmp word [ebp - 0x30], 0
je 0x1009a899
test byte [ebp - 0x2f], 0x20
jne 0x1009a899
cmp word [ebp - 0xb0], bx
je 0x1009a899
mov eax, dword [ebp - 0x40]
cmp word [ebp - 0xb0], ax
jne 0x1009a322
mov eax, dword [ebp + 4]
cmp byte [eax], 0
je 0x1009a899
inc dword [ebp + 4]
mov eax, dword [ebp + 4]
movsx ax, byte [eax]
push dword [ebp - 0x48]
lea ecx, [ebp + 4]
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1f8]
push ecx
push dword [ebp - 0x3c]
push eax
call fcn.10043bb8
mov ecx, dword [ebp + 4]
add esp, 0x18
cmp ax, 0x5a
mov word [ebp - 0x28], ax
mov word [ebp + 0x30], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xb4], ecx
ja 0x1009a899
mov eax, ecx
cmp byte [eax], 0
je 0x1009a378
inc eax
mov dword [ebp + 4], eax
movsx ax, byte [eax]
mov word [ebp - 0x40], ax
jmp 0x1009a37f
mov dword [ebp - 0x40], 0x5b
mov edi, dword [ebp - 0x20]
cmp bx, di
jne 0x1009a3a5
cmp dword [ebp + 0x28], 0
je 0x1009a899
lea eax, [ebp - 0xec]
push eax
push edi
call fcn.10043b71
pop ecx
pop ecx
jmp 0x1009a899
test dword [ebp - 0x5c], esi
je 0x1009a41a
push dword [ebp - 0x3c]
push edi
call fcn.10043b2f
movzx eax, di
push eax
push str.unShow_int1__c_r_n
push 0x100e3108
mov word [ebp - 0x28], di
mov word [ebp + 0x30], di
call fcn.10011029
add esp, 0x14
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1009a3e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x1009a405
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], 0
je 0x1009a414
push dword [ebp + 0x30]
call fcn.100432f8
pop ecx
mov dword [ebp - 0xa8], edi
test bx, bx
je 0x1009a49e
push dword [ebp - 0x3c]
push ebx
call fcn.10043b2f
movzx esi, bx
push esi
push str.unshow_int2__c_r_n
push 0x100e3108
mov word [ebp - 0x28], bx
mov word [ebp + 0x30], bx
call fcn.10011029
add esp, 0x14
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1009a45a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x1009a47a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], 0
je 0x1009a489
push dword [ebp + 0x30]
call fcn.100432f8
pop ecx
xor eax, eax
inc eax
lea ecx, [esi - 0x41]
shl eax, cl
mov word [ebp - 0x28], di
mov word [ebp + 0x30], di
not eax
and dword [ebp - 0x5c], eax
xor bl, bl
test bl, bl
je 0x1009a4b9
cmp word [ebp - 0x20], 0
je 0x1009a899
cmp byte [ebp + 0x3b], 0
jne 0x1009a899
cmp byte [ebp + 0x64], 0
jl 0x1009a4d6
push 1
lea eax, [ebp + 0x5c]
push eax
mov eax, dword [ebp - 0x54]
add eax, 0x30
push eax
call fcn.10065259
add esp, 0xc
jmp 0x1009a50c
cmp dword [ebp - 0x48], 0
je 0x1009a4f1
movsx eax, word [ebp + 0x14]
push eax
push str..CDROM_d
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1009a4d1
movsx eax, word [ebp + 8]
push eax
movsx eax, word [ebp + 0x14]
push eax
push str.DeviceHarddisk_dPartition_d
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov esi, dword [ebp - 0x20]
test si, si
je 0x1009a51a
cmp byte [ebp + 0x5b], 0
je 0x1009a53b
push dword [ebp + 4]
xor eax, eax
mov al, byte [ebp + 0x3d]
sub al, 0x41
push eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
call fcn.10043353
add esp, 0x10
mov word [ebp - 0x28], ax
mov word [ebp + 0x30], ax
cmp word [ebp + 0x30], 0x41
jb 0x1009a9c7
cmp word [ebp + 0x30], 0x5a
ja 0x1009a9c7
cmp word [ebp - 0x28], 0
je 0x1009a6d6
cmp si, word [ebp - 0x28]
jne 0x1009a56c
cmp dword [ebp], 0
jne 0x1009a56c
mov byte [ebp + 0x5b], 1
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x5c]
call fcn.10054b6b
add esp, 0x14
test eax, eax
je 0x1009a58f
and dword [ebp - 0x38], 0
jmp 0x1009a598
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
xor esi, esi
inc esi
test byte [ebp + 0x47], 0x10
je 0x1009a5b2
movzx eax, word [ebp - 0x28]
push 0x32
push 2
push eax
call fcn.100262ff
add esp, 0xc
xor edi, edi
cmp byte [ebp + 0x3c], 0
je 0x1009a68b
cmp word [ebp - 0x30], di
jne 0x1009a68b
mov ax, word [ebp - 0x28]
mov word [ebp - 0xc4], ax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0xc4]
push eax
mov word [ebp - 0xc2], 0x3a
mov word [ebp - 0xc0], 0x5c
mov word [ebp - 0xbe], 0x4e
mov word [ebp - 0xbc], 0x55
mov word [ebp - 0xba], 0x4c
mov word [ebp - 0xb8], di
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1009a636
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x28]
add ecx, 0xffffffbf
mov eax, esi
shl eax, cl
or dword [ebp - 0x5c], eax
jmp 0x1009a68b
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp + 4], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x20], edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1009a65e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x1009a67d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], edi
je 0x1009a68b
push dword [ebp + 0x30]
call fcn.100432f8
pop ecx
cmp dword [ebp], edi
je 0x1009a6b0
movzx eax, word [ebp + 0x30]
push esi
push eax
push dword [ebp + 8]
movsx eax, word [ebp + 0x14]
push eax
push str.Show_pt:__d:_d__c__d_r_n
push 0x100e3108
call fcn.10011029
add esp, 0x18
cmp esi, edi
je 0x1009a6d6
cmp byte [ebp + 0x6f], 0
jne 0x1009a6c0
cmp byte [ebp + 0x6d], 0
je 0x1009a6d6
cmp dword [ebp + 0x28], edi
je 0x1009a6d6
lea eax, [ebp - 0xec]
push eax
push dword [ebp - 0x28]
call fcn.10043b71
pop ecx
pop ecx
mov eax, dword [ebp - 0xa8]
test ax, ax
je 0x1009a899
add eax, 0xffffffbf
cmp word [ebp - 0x20], 0
je 0x1009a6f5
movsx ecx, word [ebp + 0x14]
jmp 0x1009a6f8
push 0xfffffffffffffff1
pop ecx
movsx eax, ax
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [ebp - 0x3c]
shl edx, 5
add eax, edx
cmp word [ebp - 0x20], 0
mov dword [eax + 4], ecx
je 0x1009a719
mov ecx, dword [ebp + 8]
jmp 0x1009a71c
push 0xfffffffffffffff1
pop ecx
mov dword [eax], ecx
movzx ecx, word [ebp - 0x20]
mov dword [eax + 0x10], ecx
jmp 0x1009a899
movsx esi, word [ebp + 0x14]
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x5c]
mov eax, dword [ebp]
push dword [ebp - 4]
shl eax, 8
or eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
push esi
push dword [ebp - 0x3c]
call fcn.10043478
xor edi, edi
add esp, 0x20
cmp word [ebp - 0x80], di
jne 0x1009a899
cmp dword [ebp + 0x24], edi
jne 0x1009a9cf
cmp byte [ebp + 0x65], 0
je 0x1009a7b0
test bl, 0x10
jne 0x1009a899
cmp ebx, 0x84
je 0x1009a899
cmp ebx, 0xef
je 0x1009a899
cmp byte [ebp + 0x7b], 0
je 0x1009a7b0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x44]
and edx, 0xc0000000
xor ecx, ecx
or ecx, edx
jne 0x1009a899
cmp eax, edi
je 0x1009a7c8
cmp word [ebp - 0x20], di
je 0x1009a9cf
cmp byte [ebp + 0x3b], 0
jne 0x1009a9cf
movsx eax, word [ebp + 8]
push eax
push esi
push str.DeviceHarddisk_dPartition_d
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp byte [ebp + 0x64], 0
jl 0x1009a7fa
push 1
lea eax, [ebp + 0x5c]
push eax
mov eax, dword [ebp - 0x54]
add eax, 0x30
push eax
call fcn.10065259
add esp, 0xc
cmp word [ebp + 0x30], di
jne 0x1009a821
push dword [ebp + 4]
xor eax, eax
mov al, byte [ebp + 0x3d]
sub al, 0x41
push eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
call fcn.10043353
add esp, 0x10
mov word [ebp - 0x28], ax
mov word [ebp + 0x30], ax
cmp dword [ebp - 0xd0], edi
jne 0x1009a83f
cmp word [ebp + 0x30], 0x41
jb 0x1009aa04
cmp word [ebp + 0x30], 0x5a
ja 0x1009aa04
cmp word [ebp - 0x28], di
je 0x1009a890
cmp dword [ebp], edi
je 0x1009a865
movzx eax, word [ebp + 0x30]
push eax
push dword [ebp + 8]
push esi
push str.unshow_pt:__d:_d__c_r_n
push 0x100e3108
call fcn.10011029
add esp, 0x14
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x5c]
call fcn.10054b6b
add esp, 0x14
test eax, eax
je 0x1009a887
mov dword [ebp - 0x38], edi
jmp 0x1009a890
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x68], edi
jge 0x1009aa3c
inc dword [ebp + 0x2c]
dec dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0
jg 0x10099c3d
jmp 0x1009a8b9
inc dword [ebp - 0x4c]
cmp word [ebp - 0x4c], 0x20
jge 0x10099f9a
lea ecx, [ebp + 0x50]
call fcn.10002d56
inc dword [ebp - 0x7c]
xor esi, esi
jmp 0x100999ac
cmp byte [ebp + 0x66], 1
jne 0x1009a8e8
mov byte [ebp + 0x66], 2
mov byte [ebp + 0x6e], 0xb
lea ecx, [ebp + 0x48]
call fcn.1003f96c
xor ebx, ebx
jmp 0x10099832
cmp byte [ebp + 0x6f], 0
jne 0x1009a8f6
test cl, cl
je 0x1009aa88
cmp byte [ebp + 0x67], 0
je 0x1009aa88
cmp byte [ebp + 0x6f], 1
je 0x1009a96c
cmp cl, 2
je 0x1009a96c
cmp byte [ebp + 0x6f], 3
je 0x1009a94e
cmp cl, 3
je 0x1009a94e
cmp byte [ebp + 0x6f], 4
je 0x1009a948
cmp cl, 4
je 0x1009a948
cmp byte [ebp + 0x6f], 5
je 0x1009a930
cmp cl, 5
jne 0x1009aa88
mov byte [ebp + 0x6e], 0xb
cmp byte [ebp + 0x6f], 0
je 0x1009a93d
inc byte [ebp + 0x6f]
test cl, cl
je 0x1009a8d9
inc cl
mov byte [ebp + 0x6d], cl
jmp 0x1009a8d9
mov byte [ebp + 0x6e], 0xc
jmp 0x1009a934
cmp byte [ebp + 0x6f], 0
je 0x1009a957
inc byte [ebp + 0x6f]
test cl, cl
je 0x1009a960
inc cl
mov byte [ebp + 0x6d], cl
mov dword [ebp - 8], 1
jmp 0x1009a8d9
xor eax, eax
xor edx, edx
cmp dword [ebp - 0x6c], edx
sete al
cmp byte [ebp + 0x6f], dl
lea eax, [eax + eax + 3]
je 0x1009a982
mov byte [ebp + 0x6f], al
test cl, cl
je 0x1009a989
mov byte [ebp + 0x6d], al
cmp byte [ebp + 0x67], 0x3f
je 0x1009a9a4
lea eax, [ebp - 0xec]
mov dword [ebp + 4], eax
movsx ax, byte [ebp - 0xec]
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x6c], edx
sete al
dec al
and al, 0xf9
add al, 0xc
cmp dword [ebp - 0x6c], edx
mov byte [ebp + 0x6e], al
jne 0x1009a9bf
mov dword [ebp - 8], 1
mov dword [ebp + 0x28], edx
jmp 0x1009a8d9
lea ecx, [ebp + 0x50]
jmp 0x1009abbb
lea ecx, [ebp + 0x50]
call fcn.10002d56
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], edi
jmp 0x1009aa70
lea ecx, [ebp + 0x50]
call fcn.10002d56
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], edi
jmp 0x1009abec
lea ecx, [ebp + 0x50]
call fcn.10002d56
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], 0
je 0x1009aa7b
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
xor eax, eax
cmp dword [ebp + 0x68], eax
jle 0x1009aa44
cmp dword [ebp - 0x14], eax
jge 0x1009aa44
cmp dword [ebp + 0x24], eax
jne 0x1009aa44
cmp byte [ebp + 0x6c], al
jne 0x1009aa44
cmp byte [ebp + 0x3e], al
jne 0x1009aa44
mov ebx, dword [ebp + 0x40]
xor esi, esi
cmp dword [ebp + 0x24], esi
jne 0x1009aaf2
cmp dword [ebp + 0x20], esi
jl 0x1009aab7
cmp dword [ebp + 0x68], esi
jg 0x1009aaf2
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], esi
je 0x1009aaed
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
jmp 0x1009aa7e
cmp dword [ebp + 0x20], esi
jl 0x1009ac0b
cmp dword [ebp + 0x68], esi
jle 0x1009ac0b
movsx eax, word [ebp + 0x68]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
movsx eax, word [ebp + 0x20]
push eax
push str.DeviceHarddisk_dPartition_d
push dword [ebp + 0x5c]
call edi
push dword [ebp + 0x20]
push str..PhysicalDrive_d
push dword [ebp - 0x84]
call edi
add esp, 0x1c
push esi
push 0x20000000
push 3
push esi
push 3
push 0x80000000
push dword [ebp - 0x84]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
call fcn.10005b9d
push esi
lea eax, [ebp + 0x7b]
push eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x48]
push eax
push dword [ebp - 0x4c]
mov dword [ebp + 0x28], esi
mov byte [ebp + 0x7b], 0xff
call fcn.1004c08b
add esp, 0x14
cmp byte [ebp + 0x7b], 0
jl 0x1009ac01
xor esi, esi
cmp dword [ebp + 0x28], esi
jle 0x1009abb8
lea ecx, [eax + 0x48]
movsx edx, word [ecx]
cmp edx, dword [ebp + 0x68]
je 0x1009ab9b
inc esi
add ecx, 0x90
cmp esi, dword [ebp + 0x28]
jl 0x1009ab85
jmp 0x1009abb8
push 1
lea ecx, [ebp + 0x5c]
push ecx
lea ecx, [esi + esi*8]
shl ecx, 4
lea eax, [ecx + eax + 0x60]
push eax
call fcn.10065259
add esp, 0xc
test esi, esi
jge 0x1009ac01
lea ecx, [ebp - 0x4c]
call fcn.10002d56
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], 0
je 0x1009abf7
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80070057
jmp 0x1009aa7e
lea ecx, [ebp - 0x4c]
call fcn.10002d56
xor esi, esi
mov word [ebx + 2], 0x3a
mov ax, word [ebx]
cmp ax, 0x2c
jne 0x1009ac21
mov word [ebx], 0xff0c
jmp 0x1009ac46
cmp ax, 0x3b
jne 0x1009ac2e
mov word [ebx], 0xff1b
jmp 0x1009ac46
cmp ax, 0x3a
jne 0x1009ac3b
mov word [ebx], 0xff1a
jmp 0x1009ac46
cmp ax, 0x3d
jne 0x1009ac46
mov word [ebx], 0xff1d
mov word [ebx + 4], 0x5c
mov word [ebx + 6], si
mov ax, word [ebx]
mov ecx, dword [ebp + 0x5c]
mov word [ebp - 0xa0], ax
mov word [ebp - 0x9e], 0x3a
mov word [ebp - 0x9c], si
cmp word [ecx], si
je 0x1009ace0
cmp dword [ebp + 0x24], esi
jne 0x1009ace0
push dword [ebp - 4]
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0xa0]
push eax
push ecx
call fcn.10054b6b
add esp, 0x14
cmp eax, esi
je 0x1009ac9a
xor esi, esi
jmp 0x1009aca2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0xc]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
cmp dword [ebp + 0x54], 0
je 0x1009acd9
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x1009aa7e
cmp dword [ebp - 4], esi
je 0x1009acf6
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x1009acf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x5c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x18]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
je 0x1009ad23
xor esi, esi
jmp 0x1009ad2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 4], 0
je 0x1009aca2
push dword [ebp - 0xa0]
call fcn.100432f8
pop ecx
jmp 0x1009aca2