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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xec4
push ebx
push esi
mov eax, 0x4beadc
push edi
push eax
mov dword [ebp + 0x58], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2a
push 2
sete byte [ebp + 0x62]
xor edi, edi
cmp byte [ebp + 0x62], 0
pop ebx
je 0x47ea88
add esi, ebx
mov dword [ebp + 0x78], esi
push ebx
push esi
push 0x4aec50
call fcn.00438b8f
add esp, 0xc
test al, al
mov byte [ebp + 0x47], al
jne 0x47eab5
push ebx
push esi
push 0x4aec4c
call fcn.00438b8f
add esp, 0xc
test al, al
mov byte [ebp + 0x6f], 0
je 0x47eab9
mov byte [ebp + 0x6f], 1
push ebx
push esi
push 0x4aec48
call fcn.00438b8f
push 3
push esi
push 0x4aec44
mov byte [ebp + 0x6d], al
call fcn.00438b8f
push ebx
push esi
push 0x4aec40
mov byte [ebp - 5], al
call fcn.00438b8f
add esp, 0x24
cmp byte [ebp + 0x6f], 0
mov byte [ebp + 0x63], al
jne 0x47eb03
cmp byte [ebp + 0x6d], 0
jne 0x47eb03
cmp byte [ebp - 5], 0
jne 0x47eb03
test al, al
mov dword [ebp + 0x14], edi
je 0x47eb0a
mov dword [ebp + 0x14], 1
lea eax, [ebp + 0x78]
push eax
call fcn.0040507c
pop ecx
push 5
lea ecx, [ebp + 0x5c]
call fcn.0043d49b
push 0x14
lea ecx, [ebp + 0x4c]
call fcn.0043d49b
lea ecx, [ebp + 0x18]
call fcn.0043d47d
or dword [ebp + 0x1c], 0xffffffff
mov eax, dword [ebp + 0x14]
cmp byte [ebp + 0x63], 0
mov dword [ebp + 0xc], eax
sete al
dec al
push 0x43
pop edx
mov dword [ebp + 0x2c], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x28], edi
and eax, 0x55
mov dword [ebp - 0x5c], edi
mov dword [ebp + 0x64], edi
mov byte [ebp + 0x6b], al
mov dword [ebp - 0x40], edi
push 6
pop ebx
xor eax, eax
mov byte [ebp - 0xe8], 0
mov ecx, ebx
lea edi, [ebp - 0xe7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0xcb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xe8]
push eax
push edx
mov dword [ebp - 0x3c], 0x3e8
mov byte [ebp + 0x3e], 0
mov byte [ebp + 0x6e], 0
mov byte [ebp + 0x6c], 0
mov byte [ebp + 0x26], 0
mov dword [ebp - 0x24], edx
mov byte [ebp + 0x3f], dl
mov byte [ebp + 2], 0
mov byte [ebp + 0x61], 0
mov dword [ebp + 0x20], eax
mov byte [ebp - 0xcc], 0
call fcn.0043b53f
pop ecx
mov byte [ebp + 0x3d], 0
mov byte [ebp + 0x60], 0
mov byte [ebp + 0x57], 0
pop ecx
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x2d
je 0x47ebe7
cmp ax, 0x3d
jne 0x47eeae
push 2
lea eax, [ebp + 0x78]
push eax
push 0x4aec3c
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x47ec04
mov byte [ebp + 0x3e], 1
jmp 0x47ebd1
push ebx
lea eax, [ebp + 0x78]
push eax
push str._cdrom
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x47ec23
mov dword [ebp - 0x5c], 1
jmp 0x47ebd1
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4abfd8
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x47ec40
mov byte [ebp + 0x57], 0x10
jmp 0x47ebd1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4a6ca8
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x47ec5f
mov byte [ebp + 0x60], 1
jmp 0x47ebd1
push ebx
push dword [ebp + 0x78]
push str._from:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x47ecbe
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.0040507c
cmp si, 0x41
pop ecx
jb 0x47ebd1
cmp si, 0x5a
ja 0x47ebd1
push dword [ebp + 0x78]
lea eax, [ebp - 0xe8]
push edi
push eax
mov dword [ebp - 0x24], esi
call fcn.004421a9
add esp, 0xc
jmp 0x47ebd1
push ebx
push dword [ebp + 0x78]
push str._SKIP
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x47ed0b
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 8], 0x42
call fcn.004488bd
mov al, byte [ebp + 8]
mov byte [ebp + 2], al
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
add esp, 0x10
jmp 0x47ebd1
push 8
push dword [ebp + 0x78]
push str._skiptp:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x47eded
add dword [ebp + 0x78], 0x10
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
cmp word [ebp - 0x40], 0x3c
pop ecx
jge 0x47ee67
xor eax, eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, byte [ebp + 0x61]
mov edi, dword [ebp + 0x78]
mov ecx, eax
shl ecx, 4
lea esi, [ebp + ecx - 0xe54]
add esi, eax
push 1
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004499a9
add esp, 0xc
test eax, eax
setge al
test al, al
mov byte [esi], al
jne 0x47edb2
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], edi
call fcn.0047e0f0
test eax, eax
pop ecx
pop ecx
jle 0x47ee67
push 0x10
lea eax, [ebp - 0xb0]
push eax
inc esi
push esi
call fcn.004125f9
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
add esp, 0xc
inc byte [ebp + 0x61]
test ax, ax
je 0x47ee67
call fcn.00482120
test al, al
jne 0x47ee67
add dword [ebp + 0x78], 2
jmp 0x47ed3e
push 8
push dword [ebp + 0x78]
push str._skippt:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x47ee75
add dword [ebp + 0x78], 0x10
or eax, 0xffffffff
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
jmp 0x47ee60
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0047ea1f
test eax, eax
pop ecx
pop ecx
jle 0x47ee67
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0047ea1f
test eax, eax
pop ecx
pop ecx
jle 0x47ee67
movsx eax, word [ebp - 0x40]
mov cx, word [ebp - 0x7c]
shl eax, 2
inc dword [ebp - 0x40]
mov word [ebp + eax - 0x1d8], cx
mov cx, word [ebp - 0x74]
mov word [ebp + eax - 0x1d6], cx
cmp word [ebp - 0x40], 0x3c
jl 0x47ee18
lea eax, [ebp + 0x78]
push eax
call fcn.0040507c
jmp 0x47ebd0
push ebx
lea eax, [ebp + 0x78]
push eax
push str._check
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x47ee94
mov byte [ebp + 0x3d], 1
jmp 0x47ebd1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4aec0c
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x47ebd1
mov edx, dword [ebp + 0x78]
mov ax, word [edx]
test ax, ax
je 0x47ef21
push 0x2a
pop edi
cmp ax, di
jne 0x47eee6
lea ecx, [edx + 2]
cmp word [ecx], di
jne 0x47eed8
mov edx, ecx
mov dword [ebp + 0xc], 1
mov byte [ebp + 0x57], 0x10
jmp 0x47ef12
cmp ax, di
jne 0x47eee6
mov dword [ebp + 0xc], 1
jmp 0x47ef12
cmp ax, 0x26
jne 0x47eef2
or dword [ebp - 4], 8
jmp 0x47ef12
cmp ax, 0x2d
jne 0x47ef24
xor eax, eax
mov ax, word [edx + 2]
push eax
call fcn.0041270e
add esp, 4
test al, al
jne 0x47ef24
mov dword [ebp + 0x28], 1
inc edx
inc edx
mov ax, word [edx]
test ax, ax
mov dword [ebp + 0x78], edx
jne 0x47eeb9
jmp 0x47ef24
push 0x2a
pop edi
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
pop ecx
call fcn.0043b568
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
test ax, ax
jne 0x47ef4c
or dword [ebp + 0x64], 0xffffffff
or dword [ebp + 0x1c], 0xffffffff
and dword [ebp - 0x6c], 0
and dword [ebp - 0x1c], 0
test ax, ax
je 0x47f253
push 0x2c
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043fe29
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp word [eax], 0x2c
jne 0x47efc4
add dword [ebp + 0x78], 2
mov esi, dword [ebp + 0x78]
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043fe29
xor eax, eax
mov ax, word [esi]
mov ebx, 0xffdf
add esp, 0xc
and eax, ebx
cmp ax, 0x41
jb 0x47efc9
cmp ax, 0x5a
ja 0x47efc9
push dword [ebp + 0x78]
mov byte [ebp + 0x3f], al
mov byte [ebp + 0x6b], al
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.004421a9
add esp, 0xc
jmp 0x47efc9
mov ebx, 0xffdf
mov eax, dword [ebp + 0x78]
push 0x2c
pop esi
cmp word [eax], si
jne 0x47efe9
add dword [ebp + 0x78], 2
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00440076
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x47f065
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
push esi
lea eax, [ebp + 0x78]
call fcn.00405093
mov edx, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
and eax, ebx
cmp dword [ebp + 0x64], 0
jg 0x47f027
cmp cx, di
jne 0x47f027
mov dword [ebp - 0x6c], edi
cmp ax, 0x41
jb 0x47f04e
cmp ax, 0x5a
ja 0x47f04e
push dword [ebp + 0x78]
mov byte [ebp + 0x3f], al
mov byte [ebp + 0x6b], al
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.004421a9
add esp, 0xc
jmp 0x47f065
cmp cx, 0x3f
jne 0x47f065
cmp byte [ebp + 0x6f], 0
jne 0x47f060
cmp byte [ebp + 0x6d], 0
je 0x47f065
mov al, byte [edx]
mov byte [ebp + 0x6b], al
mov edx, dword [ebp + 0x78]
push 0x2c
pop esi
cmp word [edx], si
jne 0x47f0fa
xor eax, eax
lea ecx, [edx + 2]
mov ax, word [ecx]
push eax
call fcn.0041270e
add esp, 4
test al, al
je 0x47f0a8
push esi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], ecx
call fcn.00440076
mov edx, dword [ebp + 0x78]
add esp, 0xc
cmp word [edx], 0
je 0x47f0a8
inc edx
inc edx
cmp word [edx], si
jne 0x47f0fa
inc edx
lea eax, [ebp + 8]
inc edx
push eax
mov dword [ebp + 0x78], edx
mov dword [ebp + 8], edx
call fcn.004379a9
push esi
lea eax, [ebp + 0x78]
call fcn.00405093
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx]
and eax, ebx
cmp ax, 0x41
jb 0x47f0fa
cmp ax, 0x5a
ja 0x47f0fa
push dword [ebp + 0x78]
movsx ax, al
mov word [ebp - 0x24], ax
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.004421a9
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.0041270e
add esp, 4
test al, al
jne 0x47f187
cmp dx, 0x2d
jne 0x47f12f
xor eax, eax
mov ax, word [esi + 2]
push eax
call fcn.0041270e
add esp, 4
test al, al
jne 0x47f187
cmp cx, 0x46
jne 0x47f148
add esi, 2
or dword [ebp - 0x1c], 0xffffffff
mov byte [ebp + 0x6e], 0xc
mov dword [ebp + 0x78], esi
jmp 0x47f1c8
cmp cx, 0x55
je 0x47f170
cmp cx, 0x52
je 0x47f170
cmp dx, 0x3a
je 0x47f1c8
cmp dx, 0x23
je 0x47f1c8
cmp dword [ebp + 0x28], 0
jne 0x47f1c8
test dx, dx
je 0x47f1c8
jmp 0x47f48b
add esi, 2
mov byte [ebp + 0x6e], 0xc
mov dword [ebp - 0x1c], 1
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x26], 1
jmp 0x47f1c8
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], esi
call fcn.0043a0e5
movzx esi, word [esi]
test si, si
pop ecx
pop ecx
je 0x47f1be
mov eax, esi
cmp ax, 0x3a
je 0x47f1be
cmp ax, 0x23
je 0x47f1be
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
test ax, ax
jne 0x47f1a3
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
pop ecx
mov eax, dword [ebp + 0x78]
xor edx, edx
cmp word [eax], dx
jne 0x47f1e1
mov eax, dword [ebp + 0x5c]
cmp word [eax], dx
je 0x47f1e1
mov dword [ebp + 0x28], 1
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x3a
pop ecx
je 0x47f201
cmp ax, 0x23
jne 0x47f253
mov byte [ebp + 0x6c], 1
cmp byte [ebp + 0x6e], 0
jne 0x47f20c
cmp dword [ebp + 0x1c], edx
jge 0x47f210
mov byte [ebp + 0x6c], 0
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
pop ecx
jne 0x47f241
movzx eax, word [eax + 2]
push eax
call fcn.0041270e
add esp, 4
test al, al
jne 0x47f241
mov dword [ebp + 0x28], 1
jmp 0x47f253
push 0x2c
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00440076
add esp, 0xc
cmp byte [ebp + 0x6c], 0
mov eax, dword [ebp + 0x64]
push 4
mov dword [ebp - 0x2c], 0xfffffff8
mov dword [ebp - 0x14], eax
pop ecx
je 0x47f29f
test eax, eax
jg 0x47f275
xor esi, esi
inc esi
jmp 0x47f490
cmp eax, ecx
jg 0x47f27c
dec eax
jmp 0x47f283
lea eax, [eax*4 - 0x10]
test eax, eax
mov dword [ebp + 0x64], eax
jl 0x47f291
cmp eax, ecx
jge 0x47f295
inc eax
jmp 0x47f29c
cmp eax, ecx
jl 0x47f29f
cdq
mov esi, ecx
idiv esi
add eax, ecx
mov dword [ebp + 0x64], eax
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 5
push eax
lea ecx, [ebp + 0x5c]
call fcn.0043d4c2
mov edi, dword [ebp + 0x5c]
mov ax, word [edi]
cmp ax, 0x61
jb 0x47f2cb
cmp ax, 0x7a
ja 0x47f2cb
add word [edi], 0xffe0
xor ebx, ebx
cmp byte [ebp + 0x6e], bl
mov byte [ebp - 6], 0
jne 0x47f31c
cmp dword [ebp + 0x28], ebx
jne 0x47f31c
mov ax, word [edi]
cmp ax, 0x100
jae 0x47f31c
cmp ax, 0x41
jb 0x47f2f0
cmp ax, 0x5a
jbe 0x47f31c
cmp dword [ebp + 0x1c], ebx
mov word [edi], bx
jl 0x47f303
mov eax, dword [ebp + 0x64]
cmp eax, 1
jl 0x47f303
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 0x6c], 0
je 0x47f31c
cmp dword [ebp + 0x1c], ebx
jl 0x47f31c
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x47f31c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 6], 1
cmp dword [ebp + 0x14], ebx
je 0x47f32b
test byte [ebp + 0x2c], 1
mov byte [ebp + 0x3c], 1
jne 0x47f32f
mov byte [ebp + 0x3c], 0
cmp dword [ebp + 0x14], ebx
je 0x47f33e
test byte [ebp + 0x2c], 2
je 0x47f33e
mov byte [ebp + 0x3d], 1
cmp byte [ebp + 0x47], 0
jne 0x47f353
cmp dword [ebp + 0x14], ebx
je 0x47f34f
test byte [ebp + 0x2c], 4
jne 0x47f353
xor cl, cl
jmp 0x47f355
mov cl, 1
mov al, byte [ebp + 0x2c]
and al, 0x10
mov byte [ebp - 0x46], al
mov al, byte [ebp + 0x2c]
and al, 0x40
test byte [ebp + 0x2c], 0x20
mov byte [ebp - 0x45], al
je 0x47f372
mov dword [ebp - 0x5c], 1
test cl, cl
je 0x47f445
mov bl, byte [ebp + 0x61]
movzx eax, bl
shl eax, 2
and word [ebp + eax - 0x1d8], 0
push 0x10
lea esi, [ebp + eax - 0x1d6]
push 0
push esi
call fcn.0048f7a0
inc bl
movzx eax, bl
shl eax, 2
mov word [esi], 0xee
and word [ebp + eax - 0x1d8], 0
push 0x10
lea esi, [ebp + eax - 0x1d6]
push 0
push esi
call fcn.0048f7a0
inc bl
movzx eax, bl
shl eax, 2
mov word [esi], 0xef
push 0x10
mov word [ebp + eax - 0x1d8], 1
lea eax, [ebp + eax - 0x1d6]
push 0x4aebfc
push eax
call fcn.004125f9
inc bl
movzx eax, bl
shl eax, 2
push 0x10
mov word [ebp + eax - 0x1d8], 1
lea eax, [ebp + eax - 0x1d6]
push 0x4aebec
push eax
call fcn.004125f9
inc bl
movzx eax, bl
shl eax, 2
push 0x10
mov word [ebp + eax - 0x1d8], 1
lea eax, [ebp + eax - 0x1d6]
push 0x4aebdc
push eax
call fcn.004125f9
add esp, 0x3c
inc bl
mov byte [ebp + 0x61], bl
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 0x4c], ebx
jl 0x47f456
cmp dword [ebp + 0x64], ebx
jle 0x47f456
mov al, 1
jmp 0x47f458
xor al, al
xor esi, esi
inc esi
test al, al
mov dword [ebp - 0x20], ebx
je 0x47f465
mov dword [ebp - 0x20], esi
mov ax, word [edi]
push 0x64
lea ecx, [ebp + 0x4c]
mov word [ebp + 4], ax
call fcn.0043d4c2
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
cmp byte [ebp + 0x63], 0
mov dword [ebp - 0x44], eax
je 0x47f4b2
cmp byte [ebp + 0x6b], 0
jne 0x47f4b2
mov esi, 0x80070057
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
push 0x4beadc
jmp 0x4808dc
cmp dword [ebp - 0x1c], ebx
jg 0x47f4bd
cmp byte [ebp + 0x63], 0
je 0x47f4e5
cmp byte [ebp - 0xcc], 0
movsx ax, byte [ebp + 0x6b]
mov word [ebp - 0x24], ax
je 0x47f4d8
lea eax, [ebp - 0xcc]
mov dword [ebp + 0x20], eax
cmp byte [ebp + 0x63], 0
je 0x47f4e5
mov byte [ebp + 0x6e], 0xc
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 0x14], ebx
jne 0x47f4f6
cmp dword [ebp - 0x1c], ebx
jle 0x47f4f6
mov byte [ebp + 0x6e], 0xb
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0x28], ebx
mov dword [ebp - 0x54], esi
jne 0x47f746
cmp dword [ebp - 0x14], ebx
jle 0x47f511
cmp byte [ebp + 0x60], 0
jne 0x47f746
cmp dword [ebp + 0x1c], ebx
mov byte [ebp + 0x27], 1
jl 0x47f74a
cmp dword [ebp + 0x64], ebx
mov byte [ebp + 0x3b], 1
mov byte [ebp + 0x47], 1
jg 0x47f52f
mov byte [ebp + 0x47], 0
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6e8], ebx
setle al
lea edi, [ebp - 0x6e4]
mov ecx, 0x9c
mov dword [ebp - 0x98], 1
mov dword [ebp + 8], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [ebp - 0x5c], ebx
lea edi, [ebp - 0x6d0]
rep stosd dword es:[edi], eax
mov byte [ebp + 3], al
jle 0x47f57a
mov dword [ebp - 0x98], 9
cmp byte [ebp + 0x6f], 0
jne 0x47f586
cmp byte [ebp + 0x6d], 0
je 0x47f5a4
cmp byte [ebp + 0x6b], 0x3f
jne 0x47f5a4
push 0x1b
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004125f9
add esp, 0xc
cmp dword [ebp + 0x14], ebx
mov byte [ebp + 0x60], 0
jg 0x47f5b6
cmp dword [ebp - 0x14], ebx
jg 0x47f5b6
mov byte [ebp + 0x60], 1
cmp byte [ebp + 0x6c], 0
mov esi, dword [ebp + 0x5c]
jne 0x47f5d5
cmp byte [ebp + 0x3e], 0
je 0x47f5d5
cmp dword [ebp + 0x1c], ebx
jl 0x47f5d5
cmp dword [ebp - 0x14], ebx
jle 0x47f5d5
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 0x3b], 0
jne 0x47f61e
cmp byte [ebp + 0x62], 0
jne 0x47f61e
cmp byte [ebp + 0x6e], 0
jne 0x47f61e
cmp dword [ebp - 0x2c], ebx
jge 0x47f61e
cmp byte [ebp + 0x6c], 0
jne 0x47f61e
cmp word [esi], bx
jne 0x47f602
cmp dword [ebp - 0x14], ebx
je 0x47f61e
cmp dword [ebp - 0x14], 0xffffffff
je 0x47f61e
cmp dword [ebp + 0x28], ebx
je 0x4807c8
cmp dword [ebp + 0x1c], ebx
jl 0x4807c3
cmp dword [ebp - 0x14], 1
jl 0x4807c3
push 0x10c000
lea ecx, [ebp + 0x40]
call fcn.0043d373
push dword [ebp - 0x98]
xor eax, eax
push dword [ebp + 0x40]
mov dword [ebp - 0x460], ebx
lea edi, [ebp - 0x45c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x9c
lea edi, [ebp - 0x448]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x460]
push eax
call fcn.00449516
add esp, 0xc
cmp byte [ebp + 0x3c], 0
je 0x47f675
cmp byte [ebp + 3], 0
jne 0x47f6fc
cmp byte [ebp - 0x45], 0
je 0x47f6dd
push 0x1a
lea esi, [ebp - 0x450]
pop edi
mov eax, dword [esi]
cmp eax, ebx
jle 0x47f6d7
cmp byte [ebp - 0xe8], 0
lea ecx, [ebp - 0xe8]
je 0x47f6ad
mov dl, byte [ebp - 0xe8]
movsx edx, dl
cmp edx, eax
je 0x47f6d7
inc ecx
mov dl, byte [ecx]
test dl, dl
jne 0x47f69f
cmp byte [ebp - 0xcc], 0
lea ecx, [ebp - 0xcc]
je 0x47f6d0
mov dl, byte [ebp - 0xcc]
movsx edx, dl
cmp edx, eax
je 0x47f6d7
inc ecx
mov dl, byte [ecx]
test dl, dl
jne 0x47f6c2
or eax, 0xe000
mov dword [esi], eax
add esi, 0x18
dec edi
jne 0x47f684
push 0x288
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x6e8]
push eax
call fcn.004125f9
add esp, 0xc
mov byte [ebp + 3], 1
mov eax, dword [ebp + 4]
mov word [ebp + 0x30], ax
mov word [ebp - 0x10], ax
xor eax, eax
cmp byte [ebp + 0x6e], 5
mov word [ebp + 0x32], 0x3a
sete al
mov word [ebp + 0x34], bx
mov word [ebp - 0xe], 0x3a
mov word [ebp - 0xc], 0x5c
mov word [ebp - 0xa], bx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jl 0x47f753
mov dword [ebp - 0x64], 0x7530
jmp 0x47f773
mov byte [ebp + 0x27], 0
mov byte [ebp + 0x3b], 0
jmp 0x47f52b
mov dword [ebp - 0x64], ebx
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], ebx
jle 0x480576
cmp word [ebp - 0x64], 0x3e80
jge 0x480576
mov eax, dword [ebp - 0x64]
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
mov dword [ebp + 0x10], eax
mov ecx, str..CDROM_d
jne 0x47f785
mov ecx, str..PhysicalDrive_d
movsx eax, word [ebp + 0x10]
push eax
push ecx
lea eax, [ebp - 0x7b0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x7b0]
push eax
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x50], ebx
call fcn.0040511c
mov edi, dword [ebp + 0x50]
cmp edi, ebx
je 0x480547
or eax, 0xffffffff
cmp byte [ebp + 0x27], 0
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
je 0x47f7f7
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x78]
push eax
push edi
call fcn.00449bfc
add esp, 0xc
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
cmp byte [ebp + 0x6e], 0
je 0x47f87a
push 0x800
push 1
push dword [ebp + 0x40]
push edi
call fcn.00441ba4
add esp, 0x10
cmp byte [ebp + 0x6e], 5
mov esi, eax
je 0x47f826
cmp esi, 0xb
jne 0x47f826
cmp byte [ebp + 0x6e], al
jne 0x480551
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x47f832
cmp byte [ebp + 0x26], bl
jle 0x47f860
push edi
push 0
call fcn.0043f0bf
test ebx, ebx
pop ecx
pop ecx
jg 0x47f846
cmp byte [ebp + 0x26], 0
jle 0x47f84f
cmp eax, 7
jne 0x48053b
test ebx, ebx
jge 0x47f85e
cmp eax, 7
je 0x48053b
test ebx, ebx
jne 0x47f868
cmp esi, 0xc
jne 0x47f868
push 0xb
pop esi
cmp byte [ebp + 0x6e], 5
je 0x47f87a
movsx eax, byte [ebp + 0x6e]
cmp esi, eax
jne 0x48053b
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x40]
xor ebx, ebx
push edi
mov dword [ebp - 0x34], ebx
call fcn.0043b21c
add esp, 0xc
cmp eax, ebx
je 0x480551
cmp dword [eax], 1
mov esi, dword [eax + 0x28]
lea ecx, [eax + 0x30]
push edi
mov dword [ebp - 0x58], ecx
sete byte [ebp + 0x7b]
call fcn.0043ae4d
cmp byte [ebp + 0x6c], bl
pop ecx
mov edi, eax
je 0x47f92f
cmp byte [ebp + 0x7b], bl
je 0x47f914
mov ebx, dword [ebp + 0x40]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push edi
push esi
add ebx, 0x100000
lea eax, [ebp + 0x50]
push ebx
push eax
call fcn.00441a14
add esp, 0x24
cmp dword [ebp - 0x14], esi
jg 0x48053b
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x34]
shl eax, 6
push dword [ebp - 0x58]
add eax, edi
lea eax, [ebx + eax*2 - 0x80]
push eax
call fcn.0044195b
add esp, 0x10
test eax, eax
mov dword [ebp + 0x64], eax
jl 0x48053b
cmp byte [ebp - 6], 0
je 0x47f93b
mov dword [ebp - 0x2c], eax
jmp 0x47f93b
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jle 0x47f932
cmp eax, 4
lea ecx, [eax - 1]
jle 0x47f92a
lea ecx, [eax*4 - 0x10]
mov dword [ebp + 0x64], ecx
jmp 0x47f932
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jg 0x480551
push dword [ebp + 0x50]
xor ebx, ebx
push ebx
call fcn.0043f0bf
cmp eax, 7
pop ecx
pop ecx
je 0x47f980
cmp byte [ebp + 0x7b], bl
jne 0x47f980
cmp dword [ebp - 0x34], 4
mov esi, dword [ebp - 0x58]
jne 0x47f983
mov al, byte [ebp + 2]
cmp al, byte [esi + 0x20]
jne 0x47f983
cmp byte [esi + 0xb0], bl
jne 0x47f983
cmp byte [esi + 0x140], bl
jne 0x47f983
cmp byte [esi + 0x1d0], bl
jne 0x47f983
jmp 0x480551
mov esi, dword [ebp - 0x58]
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp + 0x2c], ebx
jle 0x48053b
jmp 0x47f99a
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp + 0x2c]
mov ebx, dword [ebp - 0x34]
cmp edi, ebx
jge 0x48053b
lea ecx, [ebp + 0x58]
mov dword [ebp - 0x94], edi
call fcn.004378a9
cmp dword [ebp - 0x38], 0
je 0x47f9c5
lea eax, [ebx + 0x186a0]
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x6c], 0
je 0x47f9eb
cmp dword [ebp + 0x64], 0
jl 0x47f9eb
mov edi, dword [ebp + 0x64]
cmp edi, ebx
lea eax, [ebx + 0x186a0]
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0x94], edi
jge 0x48053b
cmp byte [ebp + 0x7b], 0
je 0x47f9fb
mov ebx, 0xff07
mov dword [ebp - 0x28], ebx
jmp 0x47fa0b
lea eax, [edi + edi*8]
shl eax, 4
movzx eax, byte [eax + esi + 0x20]
mov dword [ebp - 0x28], eax
mov ebx, eax
lea eax, [edi + edi*8]
shl eax, 4
add esi, eax
movsx eax, word [ebp - 0x40]
movsx edx, word [esi + 0x18]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp + 0x48], edx
jle 0x47fa46
mov si, word [ebp + 0x10]
cmp si, word [ebp + ecx*4 - 0x1d8]
jne 0x47fa41
movsx esi, word [ebp + ecx*4 - 0x1d6]
cmp edx, esi
je 0x47fa46
inc ecx
cmp ecx, eax
jl 0x47fa27
cmp ecx, eax
jl 0x48052b
cmp byte [ebp + 0x61], 0
jbe 0x47faab
cmp byte [ebp + 0x7b], 0
movzx edi, byte [ebp + 0x61]
sete bl
and dword [ebp - 0x30], 0
dec bl
and bl, 0xf
inc bl
test edi, edi
jle 0x47fa9f
lea esi, [ebp - 0xe53]
mov al, byte [ebp + 0x7b]
cmp al, byte [esi - 1]
jne 0x47fa94
movzx eax, bl
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x20
push esi
push eax
call fcn.0043d74f
add esp, 0xc
test eax, eax
jne 0x47fa9f
inc dword [ebp - 0x30]
add esi, 0x11
cmp dword [ebp - 0x30], edi
jl 0x47fa74
cmp dword [ebp - 0x30], edi
jl 0x48052b
mov ebx, dword [ebp - 0x28]
xor edi, edi
cmp byte [ebp + 0x62], 0
je 0x47fab8
cmp dword [ebp + 0x64], edi
jge 0x47fad5
cmp byte [ebp + 0x47], 0
je 0x47fb60
cmp byte [ebp + 0x6c], 0
jne 0x47fb60
cmp dword [ebp + 0x64], edi
jle 0x47fb60
mov eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x64]
jne 0x48052b
cmp byte [ebp + 0x62], 0
je 0x47fb53
test bl, 0x10
jne 0x480683
cmp ebx, 0x84
je 0x480683
xor edi, edi
cmp byte [ebp + 0x7b], 0
je 0x47fb55
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
je 0x47fb55
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], edi
je 0x47fb4c
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
jmp 0x480978
xor edi, edi
mov eax, dword [ebp - 0x34]
add eax, 0x186a0
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x27], 0
je 0x47fba3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp ecx, edi
jl 0x47fba3
jg 0x47fb79
cmp eax, edi
jbe 0x47fba3
cmp dword [ebp - 0x74], eax
jne 0x47fb83
cmp dword [ebp - 0x70], ecx
je 0x47fb8d
cmp dword [ebp - 0x7c], eax
jne 0x47fba3
cmp dword [ebp - 0x78], ecx
jne 0x47fba3
cmp word [ebp - 0x6c], di
je 0x48052b
cmp dword [ebp + 0x48], 0
jle 0x48052b
jmp 0x47fbef
cmp dword [ebp - 0x38], edi
jne 0x47fbce
cmp ebx, edi
je 0x48052b
cmp dword [ebp + 0x48], 0
jle 0x48052b
cmp ebx, 5
je 0x48052b
cmp ebx, 0xf
je 0x48052b
xor edi, edi
cmp dword [ebp + 0x64], edi
jg 0x47fc1a
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], edi
jg 0x47fc1a
jl 0x47fbe6
cmp dword [eax + 0x10], 0x200
ja 0x47fc1a
test bl, 0x10
je 0x48052b
movzx ecx, byte [ebp + 0x57]
xor eax, eax
push eax
push eax
push 1
or ecx, 1
push ecx
push eax
movsx eax, word [ebp + 0x10]
push dword [ebp + 0x48]
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.0043ae8e
add esp, 0x20
jmp 0x48052b
inc dword [ebp - 0x88]
cmp byte [ebp + 0x6c], 0
jne 0x47fc39
mov eax, dword [ebp - 0x2c]
cmp eax, 1
jl 0x47fc39
cmp eax, dword [ebp + 0x48]
jne 0x48052b
xor edi, edi
cmp dword [ebp - 0x2c], edi
jl 0x47fc49
mov eax, dword [ebp - 0x34]
add eax, 0x3e8
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x6c], 0
jne 0x4803e9
cmp dword [ebp + 0x64], edi
jl 0x47fc68
mov eax, dword [ebp + 0x48]
cmp dword [ebp + 0x64], eax
jne 0x47fc68
cmp eax, edi
jg 0x4803e9
cmp word [ebp - 0x6c], di
jne 0x48052b
xor edi, edi
cmp dword [ebp + 0x28], edi
jne 0x47fc91
cmp dword [ebp - 0x2c], edi
jge 0x47fc91
mov eax, dword [ebp + 0x64]
cmp eax, edi
jle 0x47fc91
cmp dword [ebp - 0x88], eax
jge 0x480561
mov esi, dword [ebp + 0x64]
or dword [ebp - 0x50], 0xffffffff
cmp esi, edi
je 0x47fca2
cmp byte [ebp + 0x62], 0
je 0x47fcfb
cmp byte [ebp + 0x7b], 0
jne 0x47ff0c
test bl, 0x10
jne 0x47fcbd
cmp ebx, 0x84
jne 0x47ff22
cmp byte [ebp - 0x46], 0
je 0x47fcfb
xor edx, edx
movsx ecx, word [ebp + 0x10]
movsx eax, dx
lea eax, [eax + eax*2]
shl eax, 3
cmp dword [ebp + eax - 0x45c], ecx
jne 0x47fcf4
mov ecx, dword [ebp + 0x48]
cmp dword [ebp + eax - 0x460], ecx
jne 0x47fcf4
cmp dword [ebp + eax - 0x450], edi
jg 0x47ff36
inc edx
cmp dx, 0x1a
jl 0x47fcc5
cmp byte [ebp + 0x3b], 0
je 0x47fd06
cmp esi, dword [ebp + 0x48]
je 0x47fd1f
cmp esi, edi
jl 0x47fd1f
cmp dword [ebp + 0x28], edi
je 0x47fd14
cmp esi, dword [ebp + 0x48]
je 0x47fd1f
cmp dword [ebp - 0x2c], edi
jl 0x48052b
xor edi, edi
mov byte [ebp + 0x25], 0
mov dword [ebp - 0x30], edi
xor ebx, ebx
movsx eax, bx
lea eax, [eax + eax*2]
shl eax, 3
mov ecx, dword [ebp + eax - 0x458]
cmp ecx, 5
je 0x47fd4c
cmp dword [ebp - 0x38], 0
je 0x47fd56
cmp ecx, 5
jne 0x47fe39
cmp dword [ebp - 0x38], 0
je 0x47fe39
movsx edi, word [ebp + 0x10]
cmp dword [ebp + eax - 0x45c], edi
jne 0x47fe39
mov ecx, dword [ebp + 0x48]
cmp dword [ebp + eax - 0x460], ecx
jne 0x47fe39
lea esi, [ebp + eax - 0x450]
cmp dword [esi], 0
jle 0x47fe39
cmp dword [ebp + 0x28], 0
movzx ax, byte [esi]
mov byte [ebp + 0x25], 1
mov word [ebp - 0x30], ax
je 0x47fe4e
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x30]
call fcn.0043b3f6
mov eax, dword [ebp - 0x34]
mov si, word [esi]
add eax, 0x3e8
cmp dword [ebp + 0x14], 0
pop ecx
pop ecx
mov dword [ebp + 0x2c], eax
mov word [ebp + 0x30], si
mov word [ebp - 0x10], si
je 0x47fde4
movzx eax, si
push eax
push dword [ebp + 0x48]
push edi
push str.unshow_pt:__d:_d__c_r_n
push 0x4bdfa0
call fcn.0040f2bd
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x47fdfe
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x47fdfe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x47fe2a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x47fe39
push dword [ebp + 0x30]
call fcn.0043ad1b
pop ecx
inc ebx
cmp bx, 0x1a
jl 0x47fd28
cmp dword [ebp + 0x28], 0
jne 0x48052b
cmp word [ebp - 0x50], 0
jg 0x47fe94
cmp byte [ebp + 0x62], 0
je 0x47fe94
cmp byte [ebp + 0x7b], 0
jne 0x47fe7e
test byte [ebp - 0x28], 0x10
jne 0x48052b
cmp dword [ebp - 0x28], 0x84
je 0x48052b
cmp byte [ebp + 0x7b], 0
je 0x47fe94
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
jne 0x48052b
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0x20]
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x90], edi
je 0x48018b
cmp byte [ebp + 0x3c], 0
jne 0x47fec4
cmp byte [ebp + 0x3d], 0
je 0x47ff54
xor edx, edx
movsx eax, dx
lea eax, [eax + eax*2]
shl eax, 3
mov ecx, dword [ebp + eax - 0x6e0]
cmp ecx, 5
je 0x47fee5
cmp dword [ebp - 0x38], edi
je 0x47feea
cmp ecx, 5
jne 0x47ff03
cmp dword [ebp - 0x38], edi
je 0x47ff03
movsx ecx, word [ebp + 0x10]
cmp dword [ebp + eax - 0x6e4], ecx
jne 0x47ff03
mov eax, dword [ebp + eax - 0x6e8]
cmp eax, dword [ebp + 0x48]
je 0x47ff42
inc edx
cmp dx, 0x1a
jl 0x47fec6
jmp 0x47ff54
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x44]
and ecx, 0xc0000000
xor eax, eax
or eax, ecx
jne 0x47fcbd
cmp esi, edi
mov dword [ebp - 0x50], 2
je 0x47fd1f
jmp 0x47fcfb
mov dword [ebp - 0x50], 1
jmp 0x47fd1f
movsx eax, dx
lea eax, [eax + eax*2]
mov ax, word [ebp + eax*8 - 0x6d8]
mov word [ebp - 0x28], ax
inc dword [ebp - 0x60]
lea ecx, [esi - 0x41]
xor esi, esi
inc esi
shl esi, cl
cmp byte [ebp - 5], 0
je 0x47ff83
cmp byte [ebp + 0x6d], 0
je 0x47ff94
cmp dword [ebp - 0x94], 4
jle 0x47ff94
inc dword [ebp - 0x60]
cmp byte [ebp + 0x6d], 1
je 0x48052b
jmp 0x47ff94
cmp byte [ebp + 0x6d], 1
jne 0x47ff94
mov eax, dword [ebp - 0x34]
add eax, 0x3e8
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x6d], 2
jne 0x47ffab
cmp word [ebp - 0x30], 0
je 0x47ffab
cmp dword [ebp - 0x60], 1
je 0x48052b
cmp byte [ebp + 0x3c], 0
je 0x47ffc6
cmp word [ebp - 0x28], 0
je 0x48052b
test byte [ebp - 0x27], 0x20
jne 0x48052b
mov ax, word [ebp - 0x30]
cmp word [ebp - 0x8c], ax
je 0x48052b
mov eax, dword [ebp - 0x24]
cmp word [ebp - 0x8c], ax
jne 0x47fff9
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
je 0x48052b
inc dword [ebp + 0x20]
mov eax, dword [ebp + 0x20]
movsx ax, byte [eax]
push dword [ebp - 0x38]
lea ecx, [ebp + 0x20]
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x460]
push ecx
push eax
call fcn.0043b47a
mov ecx, dword [ebp + 0x20]
add esp, 0x18
cmp ax, 0x5a
mov word [ebp - 0x10], ax
mov word [ebp + 0x30], ax
mov dword [ebp - 0x24], eax
mov dword [ebp + 4], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], ecx
ja 0x48052b
mov eax, ecx
cmp byte [eax], 0
je 0x480050
inc eax
mov dword [ebp + 0x20], eax
movsx ax, byte [eax]
mov word [ebp - 0x24], ax
jmp 0x480057
mov dword [ebp - 0x24], 0x5b
mov edi, dword [ebp + 4]
mov ebx, dword [ebp - 0x30]
cmp bx, di
jne 0x480080
cmp dword [ebp + 8], 0
je 0x48052b
lea eax, [ebp - 0xcc]
push eax
push edi
call fcn.0043b433
pop ecx
pop ecx
jmp 0x48052b
test dword [ebp - 0x44], esi
je 0x4800f9
lea eax, [ebp - 0x460]
push eax
push edi
call fcn.0043b3f6
movzx eax, di
push eax
push str.unshow_int1__c_r_n
push 0x4bdfa0
mov word [ebp - 0x10], di
mov word [ebp + 0x30], di
call fcn.0040f2bd
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x4800c4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x4800e4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x4800f3
push dword [ebp + 0x30]
call fcn.0043ad1b
pop ecx
mov dword [ebp - 0x90], edi
test bx, bx
je 0x480185
lea eax, [ebp - 0x460]
push eax
push ebx
call fcn.0043b3f6
movzx esi, bx
push esi
push str.unshow_int2__c_r_n
push 0x4bdfa0
mov word [ebp - 0x10], bx
mov word [ebp + 0x30], bx
call fcn.0040f2bd
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x480141
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x480161
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x480170
push dword [ebp + 0x30]
call fcn.0043ad1b
pop ecx
xor eax, eax
inc eax
lea ecx, [esi - 0x41]
shl eax, cl
mov word [ebp - 0x10], di
mov word [ebp + 0x30], di
not eax
and dword [ebp - 0x44], eax
mov byte [ebp + 0x25], 0
jmp 0x48018e
mov edi, dword [ebp + 4]
cmp byte [ebp + 0x25], 0
je 0x4801aa
test di, di
je 0x48052b
cmp byte [ebp + 0x3e], 0
jne 0x48052b
mov edi, dword [ebp + 4]
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
mov eax, str..CDROM_d
jne 0x4801bb
mov eax, str.DeviceHarddisk_dPartition_d
movsx ecx, word [ebp + 0x48]
push ecx
movsx ecx, word [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0x4c]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp di, bx
je 0x4801dd
cmp byte [ebp + 0x60], 0
je 0x4801fe
push dword [ebp + 0x20]
xor eax, eax
mov al, byte [ebp + 0x3f]
sub al, 0x41
push eax
lea eax, [ebp - 0x44]
push 0xc
push eax
call fcn.0043ad76
add esp, 0x10
mov word [ebp - 0x10], ax
mov word [ebp + 0x30], ax
cmp word [ebp + 0x30], 0x41
jb 0x4806b4
cmp word [ebp + 0x30], 0x5a
ja 0x4806b4
cmp word [ebp - 0x10], bx
je 0x480391
cmp di, word [ebp - 0x10]
jne 0x48022d
cmp dword [ebp + 0x14], ebx
jne 0x48022d
mov byte [ebp + 0x60], 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x4c]
call fcn.0044909a
add esp, 0x14
test eax, eax
je 0x48024f
mov dword [ebp - 0x20], ebx
jmp 0x480258
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x20], eax
xor esi, esi
inc esi
test byte [ebp + 0x57], 0x10
je 0x480272
movzx eax, word [ebp - 0x10]
push 0x32
push 2
push eax
call fcn.004118e7
add esp, 0xc
cmp byte [ebp + 0x3d], 0
je 0x480346
cmp word [ebp - 0x28], bx
jne 0x480346
mov ax, word [ebp - 0x10]
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xa00]
push eax
lea eax, [ebp - 0xa8]
push eax
mov word [ebp - 0xa6], 0x3a
mov word [ebp - 0xa4], 0x5c
mov word [ebp - 0xa2], 0x4e
mov word [ebp - 0xa0], 0x55
mov word [ebp - 0x9e], 0x4c
mov word [ebp - 0x9c], bx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4802f4
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 0x10]
add ecx, 0xffffffbf
mov eax, esi
shl eax, cl
or dword [ebp - 0x44], eax
jmp 0x480346
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x20], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp + 4], ebx
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x480319
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
lea eax, [ebp + 0x30]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x480338
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp + 0xc], ebx
je 0x480346
push dword [ebp + 0x30]
call fcn.0043ad1b
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x48036b
movzx eax, word [ebp + 0x30]
push esi
push eax
push dword [ebp + 0x48]
movsx eax, word [ebp + 0x10]
push eax
push str.show_pt:__d:_d__c__d_r_n
push 0x4bdfa0
call fcn.0040f2bd
add esp, 0x18
cmp esi, ebx
je 0x480391
cmp byte [ebp + 0x6f], 0
jne 0x48037b
cmp byte [ebp + 0x6d], 0
je 0x480391
cmp dword [ebp + 8], ebx
je 0x480391
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x10]
call fcn.0043b433
pop ecx
pop ecx
mov eax, dword [ebp - 0x90]
cmp ax, bx
je 0x48052b
add eax, 0xffffffbf
cmp word [ebp + 4], 0
je 0x4803b0
movsx ecx, word [ebp + 0x10]
jmp 0x4803b3
push 0xfffffffffffffff1
pop ecx
movsx eax, ax
lea eax, [eax + eax*2]
shl eax, 3
cmp word [ebp + 4], 0
mov dword [ebp + eax - 0x45c], ecx
je 0x4803cf
mov ecx, dword [ebp + 0x48]
jmp 0x4803d2
push 0xfffffffffffffff1
pop ecx
mov dword [ebp + eax - 0x460], ecx
movzx ecx, word [ebp + 4]
mov dword [ebp + eax - 0x450], ecx
jmp 0x48052b
movsx esi, word [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
shl eax, 8
or eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
push eax
push dword [ebp + 0x48]
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0043ae8e
add esp, 0x20
cmp word [ebp - 0x6c], di
jne 0x48052b
cmp dword [ebp + 0x28], edi
jne 0x4806f4
cmp byte [ebp + 0x62], 0
je 0x480465
test bl, 0x10
jne 0x48052b
cmp ebx, 0x84
je 0x48052b
cmp byte [ebp + 0x7b], 0
je 0x480465
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x44]
and edx, 0xc0000000
xor ecx, ecx
or ecx, edx
jne 0x48052b
cmp eax, edi
je 0x48047d
cmp word [ebp + 4], di
je 0x4806f4
cmp byte [ebp + 0x3e], 0
jne 0x4806f4
movsx eax, word [ebp + 0x48]
push eax
push esi
push str.DeviceHarddisk_dPartition_d
push dword [ebp + 0x4c]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp word [ebp + 0x30], di
jne 0x4804bb
push dword [ebp + 0x20]
xor eax, eax
mov al, byte [ebp + 0x3f]
sub al, 0x41
push eax
lea eax, [ebp - 0x44]
push 0xc
push eax
call fcn.0043ad76
add esp, 0x10
mov word [ebp - 0x10], ax
mov word [ebp + 0x30], ax
cmp word [ebp + 0x30], 0x41
jb 0x480755
cmp word [ebp + 0x30], 0x5a
ja 0x480755
cmp word [ebp - 0x10], di
je 0x480522
cmp dword [ebp + 0x14], edi
je 0x4804f7
movzx eax, word [ebp + 0x30]
push eax
push dword [ebp + 0x48]
push esi
push str.unshow_pt:__d:_d__c_r_n
push 0x4bdfa0
call fcn.0040f2bd
add esp, 0x14
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x4c]
call fcn.0044909a
add esp, 0x14
test eax, eax
je 0x480519
mov dword [ebp - 0x20], edi
jmp 0x480522
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x64], edi
jge 0x480724
inc dword [ebp + 0x2c]
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0
jg 0x47f997
lea ecx, [ebp + 0x50]
call fcn.00402b5a
xor ebx, ebx
jmp 0x480559
inc dword [ebp - 0x68]
cmp word [ebp - 0x68], 0x20
jge 0x48056e
lea ecx, [ebp + 0x50]
call fcn.00402b5a
inc dword [ebp - 0x64]
jmp 0x47f756
movsx eax, word [ebp + 0x10]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x64], eax
lea ecx, [ebp + 0x50]
call fcn.00402b5a
mov cl, byte [ebp + 0x6d]
inc dword [ebp - 0x54]
cmp cl, 1
jne 0x480587
mov byte [ebp + 0x6d], 2
jmp 0x480595
cmp byte [ebp + 0x63], 1
jne 0x4805a4
mov byte [ebp + 0x63], 2
mov byte [ebp + 0x6e], 0xb
lea ecx, [ebp + 0x40]
call fcn.00437960
xor ebx, ebx
jmp 0x47f5b6
cmp byte [ebp + 0x6f], 0
jne 0x4805b2
test cl, cl
je 0x480785
cmp byte [ebp + 0x6b], 0
je 0x480785
cmp byte [ebp + 0x6f], 1
je 0x480628
cmp cl, 2
je 0x480628
cmp byte [ebp + 0x6f], 3
je 0x48060a
cmp cl, 3
je 0x48060a
cmp byte [ebp + 0x6f], 4
je 0x480604
cmp cl, 4
je 0x480604
cmp byte [ebp + 0x6f], 5
je 0x4805ec
cmp cl, 5
jne 0x480785
mov byte [ebp + 0x6e], 0xb
cmp byte [ebp + 0x6f], 0
je 0x4805f9
inc byte [ebp + 0x6f]
test cl, cl
je 0x480595
inc cl
mov byte [ebp + 0x6d], cl
jmp 0x480595
mov byte [ebp + 0x6e], 0xc
jmp 0x4805f0
cmp byte [ebp + 0x6f], 0
je 0x480613
inc byte [ebp + 0x6f]
test cl, cl
je 0x48061c
inc cl
mov byte [ebp + 0x6d], cl
mov dword [ebp - 0x1c], 1
jmp 0x480595
xor eax, eax
xor edx, edx
cmp dword [ebp - 0x5c], edx
sete al
cmp byte [ebp + 0x6f], dl
lea eax, [eax + eax + 3]
je 0x48063e
mov byte [ebp + 0x6f], al
test cl, cl
je 0x480645
mov byte [ebp + 0x6d], al
cmp byte [ebp + 0x6b], 0x3f
je 0x480660
lea eax, [ebp - 0xcc]
mov dword [ebp + 0x20], eax
movsx ax, byte [ebp - 0xcc]
mov word [ebp - 0x24], ax
cmp dword [ebp - 0x5c], edx
sete al
dec al
and al, 0xf9
add al, 0xc
cmp dword [ebp - 0x5c], edx
mov byte [ebp + 0x6e], al
jne 0x48067b
mov dword [ebp - 0x1c], 1
mov dword [ebp + 8], edx
jmp 0x480595
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], 0
jmp 0x47fb41
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], ebx
je 0x4806ea
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 0x80070057
jmp 0x480978
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], edi
jmp 0x48096a
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], 0
jmp 0x48096a
lea ecx, [ebp + 0x50]
call fcn.00402b5a
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], edi
jmp 0x4806df
xor esi, esi
cmp dword [ebp + 0x64], esi
jle 0x480947
cmp dword [ebp - 0x2c], esi
jge 0x480947
cmp dword [ebp + 0x28], esi
jne 0x480947
cmp byte [ebp + 0x6c], 0
jne 0x480947
cmp byte [ebp + 0x3b], 0
jne 0x480947
lea ecx, [ebp + 0x40]
call fcn.00437960
mov esi, dword [ebp + 0x5c]
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
jne 0x480800
cmp dword [ebp + 0x1c], ebx
jl 0x4807d2
cmp dword [ebp + 0x64], ebx
jg 0x480800
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], ebx
je 0x4807f8
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
inc eax
jmp 0x480978
cmp dword [ebp + 0x1c], ebx
jl 0x480828
cmp dword [ebp + 0x64], ebx
jle 0x480828
movsx eax, word [ebp + 0x64]
mov edi, dword [ebp + 0x4c]
push eax
movsx eax, word [ebp + 0x1c]
push eax
push str.DeviceHarddisk_dPartition_d
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x48082b
mov edi, dword [ebp + 0x4c]
mov word [esi + 2], 0x3a
mov ax, word [esi]
cmp ax, 0x2c
jne 0x480841
mov word [esi], 0xff0c
jmp 0x480866
cmp ax, 0x3b
jne 0x48084e
mov word [esi], 0xff1b
jmp 0x480866
cmp ax, 0x3a
jne 0x48085b
mov word [esi], 0xff1a
jmp 0x480866
cmp ax, 0x3d
jne 0x480866
mov word [esi], 0xff1d
mov word [esi + 4], 0x5c
mov word [esi + 6], bx
mov ax, word [esi]
mov word [ebp - 0x84], ax
mov word [ebp - 0x82], 0x3a
mov word [ebp - 0x80], bx
cmp word [edi], bx
je 0x4808e9
cmp dword [ebp + 0x28], ebx
jne 0x4808e9
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0044909a
add esp, 0x14
cmp eax, ebx
je 0x4808b4
xor esi, esi
jmp 0x4808bc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], ebx
je 0x4808e2
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
jmp 0x480978
cmp dword [ebp + 0xc], ebx
je 0x4808ff
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x4808ff
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 4]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
je 0x480929
xor esi, esi
jmp 0x480931
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x4808bc
push dword [ebp - 0x84]
call fcn.0043ad1b
pop ecx
jmp 0x4808bc
lea ecx, [ebp + 0x40]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x5c]
call fcn.00437960
cmp dword [ebp + 0x58], esi
je 0x480975
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8