Function at 0x44d7b0
Capabilities:
Get disk information
Get disk information via ioctl
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5ce2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push esi
push edi
push 0x519504
mov dword [esp + 0xd0], 0x519504
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 8]
cmp word [edx], 0x2a
mov dword [esp + 0x2b4], 0
sete al
test al, al
mov byte [esp + 0x22], al
je 0x44d80d
add edx, 2
mov dword [ebp + 8], edx
mov eax, edx
mov ecx, 0x4f4f10
mov esi, 1
lea esp, [esp]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x44da22
dec esi
jns 0x44d820
mov byte [esp + 0x2a], 1
mov eax, edx
mov ecx, 0x4f4f0c
mov esi, 1
lea esp, [esp]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x44da2c
dec esi
jns 0x44d850
mov al, 1
mov byte [esp + 0xf], al
mov eax, edx
mov ecx, 0x4f4f08
mov esi, 2
lea ecx, [ecx]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x44da33
dec esi
jns 0x44d880
mov byte [esp + 0x49], 1
mov eax, edx
mov ecx, 0x4f4f04
mov edx, 1
lea esp, [esp]
movzx esi, word [eax]
movsx edi, byte [ecx]
or esi, 0x20
or edi, 0x20
add eax, 2
inc ecx
cmp edi, esi
jne 0x44da3d
dec edx
jns 0x44d8b0
mov byte [esp + 0x2b], 1
lea eax, [ebp + 8]
push eax
call fcn.0041676d
lea ecx, [ebp + 8]
push ecx
call fcn.0043f2e0
push 0xc
call fcn.00445f00
xor esi, esi
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x44d8f9
mov word [eax], si
push 0x2a
call fcn.00445f00
add esp, 4
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x44d90e
mov word [eax], si
push 2
call fcn.00445f00
add esp, 4
cmp eax, esi
mov dword [esp + 0x34], eax
je 0x44d923
mov word [eax], si
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 8]
mov byte [esp + 0x2b4], 3
mov byte [esp + 0x64], 0
mov dword [esp + 0x60], 0x3e8
mov byte [esp + 0x23], 0
mov dword [esp + 0x58], 0xffffffff
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x21], 0
mov byte [esp + 0x4a], 0
mov eax, esi
mov ecx, str._SKIP
mov edx, 5
lea esp, [esp]
movzx edi, word [eax]
movsx ebx, byte [ecx]
or edi, 0x20
or ebx, 0x20
add eax, 2
inc ecx
cmp ebx, edi
jne 0x44d9d9
dec edx
jns 0x44d980
lea edx, [ebp + 8]
add esi, 0xc
push edx
mov dword [ebp + 8], esi
call fcn.0043f2e0
lea eax, [esp + 0x78]
push eax
lea ecx, [ebp + 8]
push ecx
mov dword [esp + 0x80], 0x42
call fcn.00449a90
mov dl, byte [esp + 0x80]
lea eax, [ebp + 8]
push eax
mov byte [esp + 0x5a], dl
call fcn.0043f2e0
mov esi, dword [ebp + 8]
add esp, 0x10
push 2
push esi
push 0x4f4ef8
call fcn.004403f0
add esp, 0xc
test al, al
je 0x44da07
lea ecx, [ebp + 8]
add esi, 4
push ecx
mov dword [ebp + 8], esi
call fcn.0043f2e0
mov esi, dword [ebp + 8]
add esp, 4
mov byte [esp + 0x23], 1
mov ax, word [esi]
xor edi, edi
cmp ax, di
je 0x44da83
mov ecx, dword [esp + 0x44]
cmp ax, 0x2a
jne 0x44da47
mov byte [esp + 0x64], 1
jmp 0x44da70
mov byte [esp + 0x2a], 0
jmp 0x44d840
xor al, al
jmp 0x44d86d
mov byte [esp + 0x49], 0
jmp 0x44d8a0
mov byte [esp + 0x2b], 0
jmp 0x44d8d0
cmp ax, 0x26
jne 0x44da52
or ecx, 8
jmp 0x44da70
cmp ax, 0x2d
jne 0x44da7c
mov ax, word [esi + 2]
cmp ax, 0x30
jb 0x44da68
cmp ax, 0x39
jbe 0x44da7c
mov dword [esp + 0x40], 1
mov ax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x44da15
mov dword [ebp + 8], esi
mov dword [esp + 0x44], ecx
mov ax, word [esi]
cmp ax, 9
jb 0x44da92
cmp ax, 0xd
jbe 0x44da98
cmp ax, 0x20
jne 0x44da9d
add esi, 2
jmp 0x44da83
mov dword [ebp + 8], esi
mov si, word [esi]
cmp si, di
jne 0x44dab3
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], eax
cmp si, di
mov dword [esp + 0x9c], edi
je 0x44dd7e
push 0x2c
lea edx, [esp + 0x38]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00449370
mov esi, dword [ebp + 8]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x44dbb8
push 0x2c
lea ecx, [esp + 0x28]
push ecx
lea edx, [ebp + 8]
add esi, 2
push edx
mov dword [ebp + 8], esi
call fcn.00449370
mov esi, dword [ebp + 8]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x44dbb8
push 0x2c
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebp + 8]
add esi, 2
push ecx
mov dword [ebp + 8], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.00449690
mov esi, dword [ebp + 8]
add esp, 0xc
cmp word [esi], 0x2c
jne 0x44dbb8
push 2
call fcn.00445f00
add esp, 4
cmp eax, edi
je 0x44db48
mov word [eax], di
lea edx, [esi + 2]
cmp edx, edi
je 0x44db6a
nop
mov cx, word [edx]
cmp cx, 9
jb 0x44db5f
cmp cx, 0xd
jbe 0x44db65
cmp cx, 0x20
jne 0x44db6a
add edx, 2
jmp 0x44db50
movzx edx, word [edx]
mov esi, dword [esp + 0x10]
mov ecx, edx
and ecx, 0xffdf
cmp esi, edi
jg 0x44db8e
cmp dx, 0x2a
jne 0x44db8e
mov dword [esp + 0x9c], 0x2a
cmp cx, 0x41
jb 0x44dba2
cmp cx, 0x5a
ja 0x44dba2
mov byte [esp + 0x33], cl
mov byte [esp + 0x21], cl
cmp eax, edi
je 0x44dbb8
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x34]
xor edi, edi
mov di, word [ebx]
mov esi, ebx
mov eax, edi
and eax, 0xffdf
cmp di, 0x30
jb 0x44dbda
cmp di, 0x39
jbe 0x44dc65
cmp di, 0x2d
jne 0x44dbf0
mov cx, word [ebx + 2]
cmp cx, 0x30
jb 0x44dbf0
cmp cx, 0x39
jbe 0x44dc65
cmp ax, 0x46
jne 0x44dc34
mov byte [esp + 0xd], 0xc
lea esi, [ebx + 2]
cmp word [esi], 0
jne 0x44dc16
mov eax, dword [esp + 0x24]
cmp word [eax], 0
je 0x44dc16
mov dword [esp + 0x40], 1
mov ax, word [esi]
cmp ax, 9
jb 0x44dc25
cmp ax, 0xd
jbe 0x44dc2f
cmp ax, 0x20
jne 0x44dcde
add esi, 2
jmp 0x44dc16
cmp ax, 0x55
je 0x44dc5e
cmp ax, 0x52
je 0x44dc5e
cmp di, 0x3a
je 0x44dbfe
cmp di, 0x23
je 0x44dbfe
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x44dbfe
test di, di
je 0x44dbfe
jmp 0x44ec02
mov byte [esp + 0xd], 0xb
jmp 0x44dbfb
or eax, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], ebx
call fcn.00449970
add esp, 8
test eax, eax
jle 0x44dc98
mov edx, dword [esp + 0x38]
mov dword [esp + 0x58], edx
test di, di
je 0x44dcc0
lea ecx, [ecx]
cmp di, 0x3a
je 0x44dcc0
cmp di, 0x23
je 0x44dcc0
mov di, word [esi + 2]
add esi, 2
test di, di
jne 0x44dca0
jmp 0x44dcc0
mov ax, word [esi]
cmp ax, 9
jb 0x44dccf
cmp ax, 0xd
jbe 0x44dcd9
cmp ax, 0x20
jne 0x44dbfe
add esi, 2
jmp 0x44dcc0
mov ax, word [esi]
cmp ax, 0x3a
je 0x44dcf6
cmp ax, 0x23
jne 0x44dd82
mov byte [esp + 0xe], 1
mov al, byte [esp + 0xd]
test al, al
jne 0x44dd06
mov eax, dword [esp + 0x58]
test eax, eax
jge 0x44dd0b
mov byte [esp + 0xe], 0
add esi, 2
mov dword [ebp + 8], esi
je 0x44dd30
mov ax, word [esi]
cmp ax, 9
jb 0x44dd22
cmp ax, 0xd
jbe 0x44dd28
cmp ax, 0x20
jne 0x44dd2d
add esi, 2
jmp 0x44dd13
mov dword [ebp + 8], esi
cmp word [esi], 0x2d
jne 0x44dd50
mov si, word [esi + 2]
cmp si, 0x30
jb 0x44dd46
cmp si, 0x39
jbe 0x44dd50
mov dword [esp + 0x40], 1
jmp 0x44dd82
mov eax, dword [esp + 0x10]
cdq
push 0x2c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], edx
push ecx
lea edx, [ebp + 8]
push edx
mov dword [esp + 0x44], eax
call fcn.00449690
add esp, 0xc
test eax, eax
jle 0x44dd82
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jmp 0x44dd82
mov ebx, dword [esp + 0x34]
mov al, byte [esp + 0xe]
test al, al
mov edi, dword [esp + 0x10]
mov dword [esp + 0x54], 0xfffffff8
mov dword [esp + 0x90], edi
je 0x44de01
test edi, edi
jg 0x44ddee
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x44ddba
mov ecx, dword [0x51927c]
add ebx, 0xfffffff8
push ebx
push 0
push ecx
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44ddd1
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44ece4
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
jmp 0x44ece2
cmp edi, 4
jg 0x44ddf6
dec edi
jmp 0x44ddfd
lea edi, [edi*4 - 0x10]
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 5
lea eax, [esi + esi + 2]
push ebx
call fcn.00445f60
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x44de2c
mov word [eax + esi*2], bx
mov cx, word [eax]
cmp cx, 0x61
jb 0x44de40
cmp cx, 0x7a
ja 0x44de40
add word [eax], 0xffe0
mov cl, byte [esp + 0xd]
test cl, cl
mov byte [esp + 0x4b], 0
jne 0x44de96
cmp dword [esp + 0x40], ebx
jne 0x44de96
mov cx, word [eax]
cmp cx, 0x100
jae 0x44de96
cmp cx, 0x41
jb 0x44de69
cmp cx, 0x5a
jbe 0x44de96
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
mov word [eax], bx
jl 0x44de7d
cmp edi, 1
jl 0x44de7d
mov dword [esp + 0x54], edi
mov dl, byte [esp + 0xe]
test dl, dl
je 0x44de96
cmp ecx, ebx
jl 0x44de96
cmp edi, ebx
jl 0x44de96
mov dword [esp + 0x54], edi
mov byte [esp + 0x4b], 1
mov cx, word [eax]
mov edx, dword [esp + 0x18]
push edx
mov eax, 0xca
mov dword [esp + 0x30], ebx
mov word [esp + 0x70], cx
call fcn.00445f60
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x44dec3
mov word [eax + 0xc8], bx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x84], eax
mov al, byte [esp + 0x2b]
test al, al
mov al, byte [esp + 0x21]
jne 0x44dede
mov al, 0x43
movsx ax, al
mov word [esp + 0x80], ax
mov dword [esp + 0x8c], 1
mov cl, byte [esp + 0xe]
test cl, cl
jne 0x44df1d
mov al, byte [esp + 0x23]
test al, al
je 0x44df1d
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp edi, ebx
jl 0x44df27
cmp eax, ebx
jle 0x44df27
mov dword [esp + 0x54], eax
jmp 0x44df27
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
xor ebx, ebx
mov dl, byte [esp + 0x22]
test dl, dl
jne 0x44df6e
mov dl, byte [esp + 0xd]
test dl, dl
jne 0x44df6e
cmp dword [esp + 0x54], ebx
jge 0x44df6e
test cl, cl
jne 0x44df6e
mov esi, dword [esp + 0x24]
cmp word [esi], bx
jne 0x44df53
cmp eax, ebx
je 0x44df6e
cmp eax, 0xffffffff
je 0x44df6e
cmp dword [esp + 0x40], ebx
je 0x44ec8f
cmp edi, ebx
jl 0x44ed32
cmp eax, 1
jl 0x44ed0f
push 0x200001
call fcn.00445f00
mov edx, eax
add esp, 4
cmp edx, ebx
mov dword [esp + 0x1c], edx
je 0x44df88
mov byte [edx], 0
xor ecx, ecx
mov dword [esp + 0xd2], ecx
push ebx
push edx
mov dword [esp + 0xde], ecx
lea edx, [esp + 0xd8]
xor eax, eax
mov word [esp + 0xd8], bx
mov ecx, 0x41
lea edi, [esp + 0xe2]
push edx
mov byte [esp + 0x2c0], 4
rep stosd dword es:[edi], eax
call fcn.0044b7a0
mov eax, dword [esp + 0x78]
mov word [esp + 0x58], ax
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x6c]
add esp, 0xc
dec eax
cmp eax, ebx
mov ecx, 0x3a
mov word [esp + 0x4e], cx
mov word [esp + 0x50], bx
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], 0x5c
mov word [esp + 0x3e], bx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x60], eax
jle 0x44e677
jmp 0x44e020
cmp word [esp + 0x78], 0x3e80
jge 0x44e677
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x68], eax
jl 0x44e04d
mov eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], 0x7530
movsx eax, ax
push eax
lea eax, [esp + 0x1e4]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [esp + 0x14], edi
push edi
push 0x20000000
push 3
push edi
push 3
push SysReAllocStringLen
lea ecx, [esp + 0x1f8]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x2d0], 5
call fcn.004167bc
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x44eaa7
mov al, byte [esp + 0xd]
test al, al
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x74], edi
je 0x44e0e1
push edi
push ebx
push esi
call fcn.0044c0b0
movsx edx, byte [esp + 0x19]
add esp, 0xc
cmp eax, edx
je 0x44e0e1
cmp esi, 0xffffffff
mov byte [esp + 0x2b4], 4
je 0x44eac2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44eac2
xor eax, eax
push eax
mov ecx, 0x30
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
push eax
push 0x100000
push ebx
push 0
push 0
push 0x70050
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44e0c4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
mov edi, dword [esi + 0x28]
cmp eax, 1
sete byte [esp + 0x32]
xor edx, edx
mov dword [esp + 0xb4], edx
xor eax, eax
push eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc4], edx
lea ecx, [esp + 0x8c]
push ecx
push 0x18
mov dword [esp + 0xd0], edx
lea edx, [esp + 0xbc]
push edx
push eax
push eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x2c]
push 0x70000
push eax
mov dword [esp + 0xe4], 0x200
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [esi + 0x100000]
mov esi, dword [esp + 0xc4]
lea ecx, [esi + eax]
lea ebx, [esi + ecx]
mov cl, byte [esp + 0xe]
test cl, cl
je 0x44e2f5
mov cl, byte [esp + 0x32]
test cl, cl
je 0x44e2cf
push 0
push 0
push 0
push esi
push edi
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044beb0
mov eax, dword [esp + 0xac]
add esp, 0x1c
cmp eax, edi
jle 0x44e1e9
cmp dword [esp + 0x14], 0xffffffff
jmp 0x44e2b1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x90]
push esi
push eax
mov eax, dword [esp + 0x24]
add eax, 0x30
shl ecx, 7
push eax
lea edx, [ecx + ebx - 0x80]
push edx
call fcn.0044bd80
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], eax
jge 0x44e237
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov byte [esp + 0x2b4], 4
je 0x44eac2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44eac2
mov cl, byte [esp + 0x4b]
test cl, cl
je 0x44e243
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x14]
push esi
push 0
call fcn.00448290
add esp, 8
cmp eax, 7
je 0x44e327
mov al, byte [esp + 0x32]
test al, al
jne 0x44e327
cmp dword [esp + 0x5c], 4
jne 0x44e327
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x4a]
mov dl, byte [eax + 0x50]
add eax, 0x30
cmp cl, dl
jne 0x44e327
mov cl, byte [eax + 0xb0]
test cl, cl
jne 0x44e327
mov cl, byte [eax + 0x140]
test cl, cl
jne 0x44e327
mov cl, byte [eax + 0x1d0]
test cl, cl
jne 0x44e327
cmp esi, 0xffffffff
mov byte [esp + 0x2b4], 4
je 0x44eac2
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44eac2
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x44e2fc
cmp eax, 4
jg 0x44e2e8
lea ecx, [eax - 1]
mov dword [esp + 0x10], ecx
jmp 0x44e2fc
lea edx, [eax*4 - 0x10]
mov dword [esp + 0x10], edx
jmp 0x44e2fc
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x5c]
jle 0x44e243
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov byte [esp + 0x2b4], 4
je 0x44eac2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44eac2
mov eax, dword [esp + 0x60]
xor esi, esi
dec eax
test eax, eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], eax
jle 0x44ea8d
cmp esi, dword [esp + 0x5c]
jge 0x44ea8d
push 0x519504
mov dword [esp + 0x8c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x519504
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dl, byte [esp + 0xe]
test dl, dl
je 0x44e39c
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x44e39c
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
lea esi, [ecx + 0x3e8]
mov dword [esp + 0x70], esi
mov esi, eax
mov dword [esp + 0x88], esi
jge 0x44ea8d
mov al, byte [esp + 0x32]
test al, al
je 0x44e3ab
mov ebx, 0xff07
jmp 0x44e3bd
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi*8]
shl ecx, 4
movzx ebx, byte [ecx + eax + 0x50]
add eax, 0x30
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi*8]
shl ecx, 4
add eax, 0x30
movsx edi, word [eax + ecx + 0x18]
add eax, ecx
mov cl, byte [esp + 0x22]
test cl, cl
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa0], edi
je 0x44e41a
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x44e41a
cmp edi, ecx
jne 0x44ea73
test bl, 0x10
jne 0x44eb40
cmp ebx, 0x84
je 0x44eb40
mov ecx, dword [esp + 0x5c]
add ecx, 0x3e8
mov dword [esp + 0x70], ecx
test ebx, ebx
je 0x44ea73
test edi, edi
jle 0x44ea73
cmp ebx, 5
je 0x44ea73
cmp ebx, 0xf
je 0x44ea73
mov ecx, dword [esp + 0x10]
test ecx, ecx
jg 0x44e485
mov ecx, dword [eax + 0x14]
test ecx, ecx
jg 0x44e485
jl 0x44e456
cmp dword [eax + 0x10], 0x200
ja 0x44e485
test bl, 0x10
je 0x44ea73
movsx eax, word [esp + 0x68]
push 0
push 0
push 1
push 1
push 0
push edi
push eax
lea edx, [esp + 0xec]
push edx
call fcn.004427e0
add esp, 0x20
jmp 0x44ea73
mov ecx, dword [esp + 0x98]
inc ecx
test dl, dl
mov dword [esp + 0x98], ecx
jne 0x44e4a9
mov eax, dword [esp + 0x54]
cmp eax, 1
jl 0x44e4a9
cmp eax, edi
jne 0x44ea73
mov eax, dword [esp + 0x54]
test eax, eax
jl 0x44e4be
mov eax, dword [esp + 0x5c]
add eax, 0x3e8
mov dword [esp + 0x70], eax
test dl, dl
je 0x44e629
mov edx, dword [esp + 0x18]
movzx eax, byte [esp + 0x64]
movsx esi, word [esp + 0x68]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0xe8]
push esi
push eax
call fcn.004427e0
add esp, 0x20
cmp word [esp + 0x9c], 0
jne 0x44ea73
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x44ebcf
mov cl, byte [esp + 0x22]
test cl, cl
je 0x44e52f
test bl, 0x10
jne 0x44ea73
cmp ebx, 0x84
je 0x44ea73
test eax, eax
je 0x44e54b
cmp word [esp + 0x6c], 0
je 0x44e5f7
mov al, byte [esp + 0x23]
test al, al
jne 0x44e5f7
movsx ecx, di
push ecx
push esi
mov esi, dword [esp + 0x20]
push str.DeviceHarddisk_dPartition_d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov cx, word [esp + 0x5c]
add esp, 0x10
test cx, cx
jne 0x44e598
xor edx, edx
mov dl, byte [esp + 0x33]
sub dl, 0x41
lea eax, [esp + 0x84]
push edx
push 0xc
push eax
call fcn.004426c0
mov cx, ax
add esp, 0xc
mov word [esp + 0x38], ax
mov word [esp + 0x4c], cx
jmp 0x44e59d
mov ax, word [esp + 0x38]
cmp cx, 0x41
jb 0x44ebf0
cmp cx, 0x5a
ja 0x44ebf0
test ax, ax
je 0x44e5eb
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.0044b310
add esp, 0x14
test eax, eax
je 0x44e5e1
mov dword [esp + 0x2c], 0
jmp 0x44e5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x44ea73
lea ecx, [esp + 0x14]
call fcn.004167b7
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
jmp 0x44eefe
cmp word [esp + 0x9c], 0
jne 0x44ea73
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x44e6a1
mov eax, dword [esp + 0x54]
test eax, eax
mov eax, dword [esp + 0x10]
jge 0x44e6a5
test eax, eax
jle 0x44e6a7
cmp dword [esp + 0x98], eax
jl 0x44e6a5
movsx ecx, word [esp + 0x68]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov byte [esp + 0x2b4], 4
call fcn.004167b7
mov edx, dword [esp + 0x8c]
mov al, byte [esp + 0xf]
inc edx
cmp al, 1
mov dword [esp + 0x8c], edx
jne 0x44eae1
mov byte [esp + 0xf], 2
mov byte [esp + 0xd], 0
jmp 0x44eb13
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x44e6d6
test ecx, ecx
je 0x44e6b1
cmp eax, edi
je 0x44e6d6
mov ecx, dword [esp + 0x54]
test ecx, ecx
jge 0x44e6d6
test eax, eax
jne 0x44ea73
test bl, 0x10
jne 0x44ea73
cmp ebx, 0x84
je 0x44ea73
xor bl, bl
xor esi, esi
xor edi, edi
lea esp, [esp]
movsx eax, di
lea eax, [eax + eax*4]
shl eax, 1
mov dx, word [esp + eax + 0xd2]
cmp dx, word [esp + 0x68]
jne 0x44e78a
movsx ecx, word [esp + eax + 0xd0]
cmp ecx, dword [esp + 0xa0]
jne 0x44e78a
mov si, word [esp + eax + 0xd8]
mov eax, dword [esp + 0x40]
test eax, eax
mov bl, 1
je 0x44e7a1
mov edx, dword [esp + 0x5c]
mov ax, si
mov word [esp + 0x4c], ax
mov word [esp + 0x38], ax
mov al, byte [esp + 0x64]
add edx, 0x3e8
test al, al
mov dword [esp + 0x70], edx
je 0x44e75e
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x44e75e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov ax, word [ecx]
mov edx, dword [esp + 0x44]
neg ax
sbb eax, eax
and eax, ecx
push eax
lea ecx, [esp + 0x50]
push ecx
or edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x44e78a
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc edi
cmp di, 0x1a
jl 0x44e6e0
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x44ea73
mov al, byte [esp + 0x22]
test al, al
je 0x44e7c8
test byte [esp + 0x94], 0x10
jne 0x44ea73
cmp dword [esp + 0x94], 0x84
je 0x44ea73
mov al, byte [esp + 0x2a]
test al, al
mov dl, byte [esp + 0xf]
jne 0x44e7e4
test dl, dl
jne 0x44e7e4
mov al, byte [esp + 0x2b]
test al, al
je 0x44e9a6
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
inc eax
mov dword [esp + 0x7c], eax
lea ecx, [edi - 0x41]
mov eax, 1
shl eax, cl
mov cl, byte [esp + 0x49]
test cl, cl
je 0x44e98a
test dl, dl
je 0x44e835
cmp dword [esp + 0x88], 4
jle 0x44e835
mov edi, dword [esp + 0x7c]
inc edi
cmp dl, 1
mov dword [esp + 0x7c], edi
je 0x44ea73
mov edi, dword [esp + 0x80]
mov dl, byte [esp + 0xf]
cmp dl, 2
jne 0x44e851
test si, si
je 0x44e851
cmp dword [esp + 0x7c], 1
je 0x44ea73
mov edi, dword [esp + 0x80]
mov ecx, edi
mov word [esp + 0x38], di
mov word [esp + 0x4c], di
inc edi
cmp si, cx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x80], edi
je 0x44ea73
mov edx, dword [esp + 0x84]
test edx, eax
je 0x44e8ed
mov edi, ecx
lea eax, [esp + 0x38]
push eax
mov word [esp + 0x3c], di
mov word [esp + 0x50], di
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x44e89e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x50]
push ecx
or edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x44e8bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cx, word [esp + 0x68]
mov dx, word [esp + 0xa0]
lea eax, [edi - 0x41]
movsx eax, ax
lea eax, [eax + eax*4]
shl eax, 1
mov word [esp + eax + 0xd2], cx
mov word [esp + eax + 0xd0], dx
mov word [esp + eax + 0xd8], di
test si, si
je 0x44e9c2
lea eax, [esp + 0x38]
push eax
mov word [esp + 0x3c], si
mov word [esp + 0x50], si
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x44e915
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x50]
push ecx
or edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x44e934
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x84]
lea ecx, [esi - 0x41]
mov eax, 1
shl eax, cl
mov ecx, 0xfffffff1
not eax
and edx, eax
lea eax, [esi - 0x41]
movsx eax, ax
lea eax, [eax + eax*4]
shl eax, 1
mov word [esp + eax + 0xd0], cx
mov word [esp + eax + 0xd2], cx
mov word [esp + eax + 0xd8], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], edx
mov word [esp + 0x38], ax
mov word [esp + 0x4c], ax
jmp 0x44e9c2
cmp dl, 1
jne 0x44e835
mov ecx, dword [esp + 0x5c]
add ecx, 0x3e8
mov dword [esp + 0x70], ecx
jmp 0x44e851
test bl, bl
je 0x44e9c2
cmp word [esp + 0x6c], 0
je 0x44ea73
mov al, byte [esp + 0x23]
test al, al
jne 0x44ea73
movsx eax, word [esp + 0xa0]
mov ecx, dword [esp + 0x18]
push eax
movsx eax, word [esp + 0x6c]
push eax
push str.DeviceHarddisk_dPartition_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp word [esp + 0x6c], 0
jne 0x44ea17
xor edx, edx
mov dl, byte [esp + 0x33]
sub dl, 0x41
lea eax, [esp + 0x84]
push edx
push 0xc
push eax
call fcn.004426c0
mov cx, ax
add esp, 0xc
mov word [esp + 0x38], ax
mov word [esp + 0x4c], cx
jmp 0x44ea21
mov cx, word [esp + 0x4c]
mov ax, word [esp + 0x38]
cmp cx, 0x41
jb 0x44ebf0
cmp cx, 0x5a
ja 0x44ebf0
test ax, ax
je 0x44ea73
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.0044b310
add esp, 0x14
test eax, eax
je 0x44ea69
mov dword [esp + 0x2c], 0
jmp 0x44ea73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
inc esi
dec eax
test eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], eax
jg 0x44e346
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov byte [esp + 0x2b4], 4
je 0x44eac2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44eac2
mov eax, dword [esp + 0x74]
inc eax
cmp ax, 0x20
mov dword [esp + 0x74], eax
mov byte [esp + 0x2b4], 4
jge 0x44e677
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
inc esi
dec eax
test eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x60], eax
jg 0x44e020
jmp 0x44e677
mov cl, byte [esp + 0x2a]
test cl, cl
jne 0x44eaf1
test al, al
je 0x44ec44
mov al, byte [esp + 0x21]
test al, al
je 0x44ec44
movsx cx, al
mov word [esp + 0x80], cx
mov byte [esp + 0x21], 0
mov byte [esp + 0xd], 0xb
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x2b4], 3
je 0x44def5
mov edx, eax
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44def5
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x44eb52
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x1c]
mov eax, dword [0x51927c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add edx, 0xfffffff8
push edx
push 0
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44eb81
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44eb98
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
push 0x519504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x44ebe1
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44eeaf
lea ecx, [esp + 0x14]
call fcn.004167b7
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x34]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
push 0x519504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80070057
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x44eea1
mov eax, dword [esp + 0x54]
test eax, eax
jge 0x44eea1
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x44eea1
mov al, byte [esp + 0xe]
test al, al
jne 0x44eea1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44ec8f
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x58]
xor ebx, ebx
cmp edi, ebx
jl 0x44eca1
mov eax, dword [esp + 0x10]
cmp eax, ebx
jg 0x44ed0b
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x44ecbd
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebx
push edx
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44ecd2
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push ebx
push edx
call esi
push 0x519504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x24]
cmp edi, ebx
jl 0x44ed32
cmp eax, ebx
jle 0x44ed32
mov edx, dword [esp + 0x18]
movsx eax, ax
push eax
movsx ecx, di
push ecx
push str.DeviceHarddisk_dPartition_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edi, dword [esp + 0x18]
mov ecx, 0x3a
mov word [esi + 2], cx
mov ax, word [esi]
cmp ax, 0x2c
jne 0x44ed4f
mov word [esi], 0xff0c
jmp 0x44ed73
cmp ax, 0x3b
jne 0x44ed5c
mov word [esi], 0xff1b
jmp 0x44ed73
cmp ax, cx
jne 0x44ed68
mov word [esi], 0xff1a
jmp 0x44ed73
cmp ax, 0x3d
jne 0x44ed73
mov word [esi], 0xff1d
mov word [esi + 4], 0x5c
mov word [esi + 6], bx
mov ax, word [esi]
mov word [esp + 0xa4], ax
mov word [esp + 0xa6], cx
mov word [esp + 0xa8], bx
cmp word [edi], bx
je 0x44ee17
cmp dword [esp + 0x40], ebx
jne 0x44ee17
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push ecx
push edx
push esi
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.0044b310
add esp, 0x14
cmp eax, ebx
je 0x44edcd
mov dword [esp + 0x2c], ebx
jmp 0x44edd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x44edf3
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push ebx
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push ebx
push eax
call edi
mov ecx, dword [0x51927c]
add esi, 0xfffffff8
push esi
push ebx
push ecx
call edi
jmp 0x44eefe
mov al, byte [esp + 0x64]
test al, al
je 0x44ee30
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x44ee30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ax, word [edi]
neg ax
lea edx, [esp + 0xa4]
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x48]
push edx
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
je 0x44ee5b
mov dword [esp + 0x2c], ebx
jmp 0x44ee65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x44ee80
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push ebx
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push ebx
push edx
call edi
mov eax, dword [0x51927c]
add esi, 0xfffffff8
push esi
push ebx
push eax
call edi
jmp 0x44eefe
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x44eebe
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44eed5
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44eeeb
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
push 0x519504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2ac]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8