Function at 0x43cc30
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6835
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x63a800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x1008
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edi
call fcn.004898a6
mov esi, eax
add esp, 4
mov dword [ebp - 0xc0], esi
test esi, esi
je 0x43d8b0
cmp dword [0x644450], 0
jne 0x43ccdc
push 0xe0
call fcn.0048986c
add esp, 4
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x43ccbc
mov ecx, eax
call fcn.004015d0
jmp 0x43ccbe
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x644450], eax
test eax, eax
jne 0x43ccdc
push esi
call fcn.0048989b
add esp, 4
jmp 0x43d8b0
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ccf6
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0xbc], ebx
lea ecx, [edi + 0x24]
push ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 1
call fcn.004325e0
mov byte [ebp - 4], 2
mov al, byte [edi + 0x23]
xor esi, esi
mov dword [ebp - 0xd0], esi
test al, al
je 0x43cd39
cmp al, 1
jne 0x43cfc1
xor edi, edi
xor ebx, ebx
lea ecx, [ecx]
push ebx
push 0x60b980
lea ecx, [ebp - 0xbc]
call fcn.00432a60
lea esi, [ebp - 0xbc]
call fcn.00468bc0
cmp eax, ebx
je 0x43cd6f
mov edx, dword [ebp - 0xbc]
cmp dword [edx - 0xc], ebx
jne 0x43cf08
lea ecx, [ebp - 0x154]
call fcn.004012e0
push 0x31
mov byte [ebp - 4], 3
lea eax, [ebp - 0x63]
push ebx
or esi, 0xffffffff
push eax
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x64], 0
call fcn.005afd80
add esp, 0xc
push edi
lea ecx, [ebp - 0x64]
push 0x60adbc
push ecx
call fcn.005acd60
lea eax, [ebp - 0x64]
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43cdc0
sub eax, ecx
push eax
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xfc]
call fcn.00432a60
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x110], eax
cmp eax, esi
jne 0x43ce0d
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.004016a0
jmp 0x43cf39
push ebx
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0xd8]
push ecx
push 8
lea edx, [ebp - 0xe4]
push edx
push ebx
push ebx
push 0x7405c
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x43ce65
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x110], esi
mov byte [ebp - 4], 2
call fcn.004016a0
jmp 0x43cf39
push 0x31
lea ecx, [ebp - 0x97]
push ebx
push ecx
mov byte [ebp - 0x98], 0
call fcn.005afd80
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe4]
add esp, 0xc
push edx
push eax
lea ecx, [ebp - 0x98]
push 0x60c664
push ecx
call fcn.005acd60
lea eax, [ebp - 0x64]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cea6
sub eax, edx
push eax
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xbc]
call fcn.00432a60
lea eax, [ebp - 0x98]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cec8
sub eax, edx
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00432140
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x110], esi
mov byte [ebp - 4], 2
call fcn.004016a0
jmp 0x43cf0b
or esi, 0xffffffff
mov eax, dword [ebp - 0xb8]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x43ccec
mov edx, dword [ebp - 0xbc]
push eax
push edx
call fcn.005ade34
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x43cf45
inc edi
cmp edi, 0x36
jl 0x43cd40
jmp 0x43cf4b
mov dword [ebp - 0xd0], edi
cmp edi, 0x36
jne 0x43cfaf
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0048989b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x43d8b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43d8b0
mov ebx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xe8]
or eax, 0xffffffff
cmp dword [0x642c24], eax
je 0x43cfd1
mov dword [0x642c24], eax
mov al, byte [edi + 0x23]
test al, al
jne 0x43d365
lea ecx, [ebp - 0x154]
call fcn.004012e0
push 0x31
lea ecx, [ebp - 0x63]
mov byte [ebp - 4], 4
push 0
push ecx
mov dword [ebp - 0x110], 0xffffffff
mov byte [ebp - 0x64], 0
call fcn.005afd80
add esp, 0xc
push esi
lea edx, [ebp - 0x64]
push 0x60adbc
push edx
call fcn.005acd60
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x11c], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43d046
sub eax, ecx
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00432a60
mov esi, dword [ebp - 0x110]
cmp esi, 0xffffffff
jne 0x43d0c5
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0048989b
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004016a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d0a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43cf9a
mov edi, dword [ebp - 0xc0]
push 0x1008
push 0
push edi
call fcn.005afd80
add esp, 0xc
push 0
lea ecx, [ebp - 0xd8]
push ecx
push 0x1008
push edi
push 0
push 0
push 0x2d0c04
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call esi
test eax, eax
jne 0x43d1d1
mov ecx, dword [ebp - 0x110]
push eax
lea edx, [ebp - 0xc4]
push edx
push 0x18
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 0x70000
push ecx
call esi
test eax, eax
jne 0x43d15b
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [ebp - 0x110], 0xffffffff
call fcn.0048989b
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004016a0
jmp 0x43d89a
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x43d1b8
mov edx, dword [ebp - 0xa8]
test edx, edx
je 0x43d1b8
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43d1b8
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov ebx, esi
or ebx, edi
je 0x43d1b8
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
jmp 0x43d245
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc0]
push ecx
jmp 0x43d143
mov esi, edi
xor eax, eax
add esi, 8
mov ecx, 8
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x138]
mov dword [0x642a1c], 0x1000
mov dword [0x642a20], 0xb3
cmp ecx, eax
je 0x43d2f8
mov edx, dword [ebp - 0x140]
test edx, edx
je 0x43d2f8
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x43d2f8
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x148]
mov ebx, esi
or ebx, edi
je 0x43d2f2
mul edx
push 0
push ecx
push edx
push eax
call fcn.005af0e0
push edi
push esi
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x154], eax
xor eax, eax
push eax
mov dword [ebp - 0x150], edx
lea edx, [ebp - 0xd0]
push edx
push 8
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x7405c
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d2ce
cmp dword [ebp - 0x150], 0x10000
ja 0x43d2ce
jb 0x43d2b6
cmp dword [ebp - 0x154], 0
jae 0x43d2ce
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x154]
mov ebx, 0x642be0
call fcn.004010b0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.004016a0
jmp 0x43dc63
mov ebx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0048989b
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004016a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d0a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43cf9a
cmp al, 2
jne 0x43d5c3
lea ecx, [ebp - 0x154]
call fcn.004012e0
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x110], 0xffffffff
call fcn.004327f0
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x43d3c0
push 0
lea ecx, [ebp - 0xb8]
call fcn.00432990
mov edx, dword [ebp - 0xb8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x110], esi
cmp esi, edi
jne 0x43d43c
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0048989b
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004016a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d427
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x43cf9a
mov ebx, dword [ebp - 0xc0]
push 0x1008
push 0
push ebx
call fcn.005afd80
add esp, 0xc
push 0
lea ecx, [ebp - 0xd8]
push ecx
push 0x1008
push ebx
push 0
push 0
push 0x2d0c04
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call esi
push 0
test eax, eax
jne 0x43d519
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0xc4]
push edx
push 0x18
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 0x70000
push ecx
call esi
test eax, eax
jne 0x43d4bc
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x110], edi
push ebx
jmp 0x43d143
mov ebx, dword [ebp - 0xa0]
test ebx, ebx
je 0x43d1b8
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x43d1b8
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43d1b8
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov edx, esi
or edx, edi
je 0x43d1b8
mul ecx
push 0
push ebx
push edx
push eax
call fcn.005af0e0
push edi
push esi
push edx
push eax
call fcn.005af0e0
mov ebx, dword [ebp - 0xc0]
jmp 0x43d539
mov eax, dword [ebx + 0x1c]
mul dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push ecx
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push ecx
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebp - 0x110]
mov esi, eax
xor eax, eax
push eax
mov edi, edx
lea edx, [ebp - 0xd0]
push edx
push 8
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x7405c
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43d591
or esi, edi
jne 0x43d2ce
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jmp 0x43d139
cmp dword [ebp - 0xc8], 0x10000
jb 0x43d2ce
ja 0x43d5b0
cmp dword [ebp - 0xcc], 0
jb 0x43d2ce
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jmp 0x43d139
cmp al, 1
jne 0x43d973
call sub.KERNEL32.dll_GetLogicalDrives
nop
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], 2
mov ecx, dword [ebp - 0xc8]
mov eax, 1
shl eax, cl
test dword [ebp - 0xd8], eax
je 0x43d869
mov esi, ecx
add esi, 0x41
push esi
xor eax, eax
lea edx, [ebp - 0x24]
push 0x60add0
push edx
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov byte [ebp - 0x1b], al
call fcn.005acd60
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.dll_GetDriveTypeA
nop
push 0x31
lea ecx, [ebp - 0x97]
push 0
push ecx
mov edi, eax
mov byte [ebp - 0x98], 0
call fcn.005afd80
add esp, 0xc
push esi
lea edx, [ebp - 0x98]
push 0x60add4
push edx
call fcn.005acd60
add esp, 0xc
test edi, edi
je 0x43d869
cmp edi, 1
je 0x43d869
cmp edi, 4
je 0x43d869
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43d869
push 0xc08
call fcn.004898a6
mov esi, eax
add esp, 4
test esi, esi
je 0x43d884
push 0xc08
push 0
push esi
mov dword [ebp - 0xc4], 0
call fcn.005afd80
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [ebp - 0xc4]
push ecx
push 0xc08
push esi
push 0
push 0
push 0x560000
push ebx
call edi
test eax, eax
je 0x43d859
mov edx, dword [ebp - 0xd0]
cmp dword [esi + 8], edx
jne 0x43d859
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0xe8]
cmp ecx, dword [eax + 0x10]
jne 0x43d859
mov edx, dword [esi + 0x14]
cmp edx, dword [eax + 0x14]
jne 0x43d859
mov ecx, dword [esi + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x43d859
mov edx, dword [esi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x43d859
push esi
call fcn.0048989b
mov esi, dword [ebp - 0xc0]
add esp, 4
push 0x1008
push 0
push esi
call fcn.005afd80
add esp, 0xc
push 0
lea eax, [ebp - 0xc4]
push eax
push 0x1008
push esi
push 0
push 0
push 0x2d0c04
push ebx
call edi
test eax, eax
jne 0x43d7e3
push eax
lea ecx, [ebp - 0xe0]
push ecx
push 0x18
lea edx, [ebp - 0xb4]
push edx
push eax
push eax
push 0x70000
push ebx
call edi
test eax, eax
jne 0x43d7a4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d869
cmp dword [ebp - 0xa0], 0
je 0x43d7d7
mov edx, dword [ebp - 0xa8]
test edx, edx
je 0x43d7d7
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43d7d7
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov ecx, esi
or ecx, edi
jne 0x43d8d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d869
xor edx, edx
add esi, 8
mov ecx, 8
mov edi, 0x642be8
mov dword [0x642c24], 0xffffffff
mov dword [0x642be0], edx
mov dword [0x642be4], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x642bfc]
mov dword [0x642a1c], 0x1000
mov dword [0x642a20], 0xb4
cmp ecx, edx
je 0x43d84f
cmp dword [0x642bf4], edx
je 0x43d84f
mov eax, dword [0x642bf8]
cmp eax, edx
je 0x43d84f
mov esi, dword [0x642be8]
mov edi, dword [0x642bec]
mov edx, esi
or edx, edi
jne 0x43d8fd
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d869
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0048989b
add esp, 4
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, 0x1a
jl 0x43d5e1
jmp 0x43dc63
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0048989b
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00432bf0
lea ecx, [ebp - 0xbc]
call fcn.00432bf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ac396
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xa0]
mov dword [0x642c24], 0xffffffff
mov dword [0x642bfc], ecx
mov dword [0x642be8], esi
mov dword [0x642bec], edi
mov dword [0x642bf4], edx
mov dword [0x642bf8], eax
mul dword [0x642bf4]
push 0
push ecx
push edx
push eax
call fcn.005af0e0
push edi
push esi
push edx
push eax
call fcn.005af0e0
mov dword [0x642be0], eax
xor eax, eax
push eax
lea ecx, [ebp - 0xe0]
push ecx
push 8
mov dword [0x642be4], edx
lea edx, [ebp - 0xdc]
push edx
push eax
push eax
push 0x7405c
push ebx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43dc5d
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0x10000
ja 0x43dc5d
mov eax, dword [ebp - 0xdc]
jmp 0x43dc41
call sub.KERNEL32.dll_GetLogicalDrives
nop
movzx ecx, byte [edi + 0x22]
mov edx, 1
shl edx, cl
test eax, edx
je 0x43d88b
xor eax, eax
lea esi, [ecx + 0x41]
push esi
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov byte [ebp - 0x27], al
lea eax, [ebp - 0x30]
push 0x60add0
push eax
mov byte [ebp - 0x30], 0
call fcn.005acd60
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
nop
push 0x31
lea edx, [ebp - 0x97]
push 0
push edx
mov edi, eax
mov byte [ebp - 0x98], 0
call fcn.005afd80
add esp, 0xc
push esi
lea eax, [ebp - 0x98]
push 0x60add4
push eax
call fcn.005acd60
add esp, 0xc
test edi, edi
je 0x43da1c
cmp edi, 1
je 0x43da1c
cmp edi, 4
je 0x43da1c
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43da28
mov edx, dword [ebp - 0xc0]
push edx
jmp 0x43d892
push 0xc08
call fcn.004898a6
mov esi, eax
add esp, 4
test esi, esi
je 0x43d884
push 0xc08
push 0
push esi
mov dword [ebp - 0xc4], 0
call fcn.005afd80
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [ebp - 0xc4]
push ecx
push 0xc08
push esi
push 0
push 0
push 0x560000
push ebx
call edi
test eax, eax
je 0x43da9a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0048989b
add esp, 4
push esi
jmp 0x43d892
push esi
call fcn.0048989b
mov esi, dword [ebp - 0xc0]
add esp, 4
push 0x1008
push 0
push esi
call fcn.005afd80
add esp, 0xc
push 0
lea eax, [ebp - 0xc4]
push eax
push 0x1008
push esi
push 0
push 0
push 0x2d0c04
push ebx
call edi
test eax, eax
jne 0x43db6d
push eax
lea ecx, [ebp - 0xe0]
push ecx
push 0x18
lea edx, [ebp - 0xb4]
push edx
push eax
push eax
push 0x70000
push ebx
call edi
test eax, eax
jne 0x43db08
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jmp 0x43d892
cmp dword [ebp - 0xa0], 0
je 0x43dafb
cmp dword [ebp - 0xa8], 0
je 0x43dafb
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43dafb
mov edx, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov ecx, edx
or ecx, edi
je 0x43dafb
mov ecx, dword [ebp - 0xa0]
mov esi, edx
mov edx, dword [ebp - 0xa8]
mov dword [0x642c24], 0xffffffff
mov dword [0x642bfc], ecx
mov dword [0x642be8], esi
mov dword [0x642bec], edi
mov dword [0x642bf4], edx
mov dword [0x642bf8], eax
jmp 0x43dbe5
xor edx, edx
add esi, 8
mov ecx, 8
mov edi, 0x642be8
mov dword [0x642c24], 0xffffffff
mov dword [0x642be0], edx
mov dword [0x642be4], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x642bfc]
mov dword [0x642a1c], 0x1000
mov dword [0x642a20], 0xb5
cmp ecx, edx
je 0x43de98
cmp dword [0x642bf4], edx
je 0x43de98
mov eax, dword [0x642bf8]
cmp eax, edx
je 0x43de98
mov esi, dword [0x642be8]
mov edi, dword [0x642bec]
mov edx, esi
or edx, edi
je 0x43de98
mul dword [0x642bf4]
push 0
push ecx
push edx
push eax
call fcn.005af0e0
push edi
push esi
push edx
push eax
call fcn.005af0e0
mov dword [0x642be0], eax
xor eax, eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xe0]
push eax
push 8
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0x7405c
push ebx
mov dword [0x642be4], edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43dc5d
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10000
ja 0x43dc5d
mov eax, dword [ebp - 0x24]
jb 0x43dc47
test eax, eax
jae 0x43dc5d
test ecx, ecx
jne 0x43dc52
cmp eax, 0x100000
jb 0x43dc5d
mov dword [0x642be0], eax
mov dword [0x642be4], ecx
mov dword [0x642c24], ebx
mov eax, dword [ebp - 0xe8]
mov dl, byte [eax + 0x21]
mov esi, dword [ebp - 0xec]
mov byte [0x644407], dl
mov al, byte [eax + 0x20]
mov ebx, 1
push esi
mov byte [0x644406], al
mov dword [0x64446c], ebx
call fcn.00436050
mov edi, 2
push 0
lea ecx, [esi + 0xad98]
mov dword [esi + 0xbc], edi
call fcn.004912a4
cmp dword [esi + 0xbc], ebx
jne 0x43dcc3
cmp byte [0x644406], 4
jne 0x43dcc3
cmp byte [0x644407], 7
je 0x43dcd0
push 0
lea ecx, [esi + 0xb4f4]
call fcn.004912a4
cmp dword [esi + 0xbc], edi
jl 0x43dd22
lea ecx, [esi + 0x9790]
call fcn.0049114d
test eax, 0x10000000
jne 0x43dcf7
push 5
lea ecx, [esi + 0x9790]
call fcn.004912a4
lea ecx, [esi + 0x9ee8]
call fcn.0049114d
test eax, 0x10000000
jne 0x43dd16
push 5
lea ecx, [esi + 0x9ee8]
call fcn.004912a4
push ebx
lea ecx, [esi + 0x72d8]
call fcn.004912e6
cmp dword [esi + 0xbc], 0
jle 0x43dd76
lea ecx, [esi + 0x6b80]
call fcn.0049114d
test eax, 0x10000000
jne 0x43dd4a
push 5
lea ecx, [esi + 0x6b80]
call fcn.004912a4
lea ecx, [esi + 0x88e0]
call fcn.0049114d
test eax, 0x10000000
jne 0x43dd69
push 5
lea ecx, [esi + 0x88e0]
call fcn.004912a4
push 0
lea ecx, [esi + 0xbcc0]
call fcn.004912a4
cmp dword [esi + 0xbc], edi
jl 0x43dd98
push 0
lea ecx, [esi + 0x88e0]
call fcn.004912a4
push 5
lea ecx, [esi + 0x9038]
call fcn.004912a4
push 0
lea ecx, [esi + 0x6b80]
call fcn.004912a4
push 0x169
lea ecx, [esi + 0x641c]
push 0x60c670
call fcn.00432a60
push 0x1f
lea ecx, [esi + 0x6420]
push 0x60c7dc
call fcn.00432a60
push 0x460
mov ecx, esi
call fcn.00491099
test eax, eax
je 0x43dde5
push 0
mov ecx, eax
call fcn.004912a4
push 0x46d
mov ecx, esi
call fcn.00491099
test eax, eax
je 0x43ddfe
push 5
mov ecx, eax
call fcn.004912a4
mov ecx, dword [esi + 0x20]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
mov ecx, esi
call fcn.0048d0e8
mov eax, 0x642be0
mov ebx, 0x6441d0
mov byte [0x644405], 0x36
call fcn.004010b0
call fcn.00436150
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0048989b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43de65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43de8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x43d8b2
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc0]
push ecx
jmp 0x43d892