Function at 0x4de360
Capabilities:
Get disk information
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x566626
mov eax, dword fs:[0]
push eax
mov eax, 0x1440
call fcn.00540b00
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x143c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x1454]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x348]
push 0x14b
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x3c], 0x208
mov dword [esp + 0x44], 0x200
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4de42a
mov eax, 4
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push str.NoDrives
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x41
mov dword [esp + 0x18], 0x1a
mov edx, dword [esp + 0x24]
lea ecx, [ebx - 0x41]
shr edx, cl
test dl, 1
jne 0x4de573
push ebx
lea eax, [esp + 0x3c]
push str._C:_
push eax
call fcn.00409bf0
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
xor eax, eax
mov word [esp + 0x880], ax
cmp dword [0x5ed75c], eax
je 0x4de4c5
test edi, edi
je 0x4de489
cmp edi, 1
je 0x4de489
cmp edi, 4
jne 0x4de4ce
push ebx
lea edx, [esp + 0x50]
push 0x586ca8
push edx
call fcn.00409bf0
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x884]
push ecx
lea edx, [esp + 0x54]
push edx
call sub.MPR.dll_WNetGetConnectionW
mov ax, word [esp + 0x880]
test ax, ax
jne 0x4de4ce
jmp 0x4de573
cmp edi, 1
je 0x4de573
xor ecx, ecx
mov word [esp + 0x60], cx
test ax, ax
je 0x4de4f6
lea edx, [esp + 0x880]
push edx
lea eax, [esp + 0x64]
push 0x208
push eax
call fcn.0053fe1c
add esp, 0xc
jmp 0x4de530
cmp edi, 5
je 0x4de530
cmp edi, 2
je 0x4de530
cmp dword [0x5ed75c], 0
jne 0x4de50e
cmp edi, 4
je 0x4de530
mov edx, dword [esp + 0x28]
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea edx, [esp + 0x60]
push edx
push ebx
lea eax, [esp + 0xc88]
push str.__C:___s
push eax
call fcn.004d5c40
mov edx, dword [esi + 0x348]
add esp, 0x10
lea ecx, [esp + 0xc80]
push ecx
push 0
push 0x143
push edx
call ebp
push ebx
push eax
mov eax, dword [esi + 0x348]
push 0x151
push eax
call ebp
inc ebx
sub dword [esp + 0x18], 1
jne 0x4de437
lea ecx, [esp + 0x470]
push 0x10
push ecx
call fcn.0044c420
add esp, 8
test eax, eax
je 0x4de5d0
lea edx, [esp + 0x470]
push 0x5c
push edx
call fcn.00540922
add esp, 8
test eax, eax
je 0x4de5d0
add eax, 2
push eax
mov eax, dword [esi + 0x348]
push 0
push 0x143
push eax
call ebp
mov ecx, dword [esi + 0x348]
push 0
push eax
push 0x151
push ecx
call ebp
lea edx, [esp + 0x470]
push 5
push edx
call fcn.0044c420
add esp, 8
test eax, eax
je 0x4de621
lea eax, [esp + 0x470]
push 0x5c
push eax
call fcn.00540922
add esp, 8
test eax, eax
je 0x4de621
mov ecx, dword [esi + 0x348]
add eax, 2
push eax
push 0
push 0x143
push ecx
call ebp
mov edx, dword [esi + 0x348]
push 1
push eax
push 0x151
push edx
call ebp
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4de63b
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
push 0x54f0
mov dword [esp + 0x1460], 0
call fcn.00508953
test eax, eax
je 0x4de677
push 0x54f0
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d70
mov ebx, dword [esp + 0x14]
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4de691
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5f83
mov byte [esp + 0x1460], 1
call fcn.00508953
test eax, eax
je 0x4de6c6
push 0x5f83
push eax
lea ecx, [esp + 0x20]
call fcn.00401d70
mov edx, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
lea edi, [edx + 1]
sub eax, edi
or eax, ecx
mov dword [esp + 0x1c], edx
jge 0x4de6f3
push edi
lea ecx, [esp + 0x18]
call fcn.00401bd0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, 0x2f
mov word [ebx + edx*2], cx
test edi, edi
jl 0x4de8ee
cmp edi, dword [ebx - 8]
jg 0x4de8ee
mov dword [ebx - 0xc], edi
xor edx, edx
mov word [ebx + edi*2], dx
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00401fb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x348]
push eax
xor ebx, ebx
push ebx
push 0x143
push ecx
call ebp
mov edx, dword [esi + 0x348]
push 3
push eax
push 0x151
push edx
call ebp
push 0x5476
call fcn.00508953
cmp eax, ebx
je 0x4de76c
push 0x5476
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x348]
push eax
push ebx
push 0x143
push ecx
call ebp
mov edx, dword [esi + 0x348]
push 2
push eax
push 0x151
push edx
call ebp
push 0x54f4
call fcn.00508953
cmp eax, ebx
je 0x4de7ae
push 0x54f4
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d70
push 3
push 0x57c318
lea ecx, [esp + 0x1c]
call fcn.00401fb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x348]
push eax
push ebx
push 0x143
push ecx
call ebp
mov edx, dword [esi + 0x348]
push 4
push eax
push 0x151
push edx
call ebp
mov eax, dword [esi + 0x904]
cmp dword [eax*4 + 0x5b9040], ebx
jle 0x4de877
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x904]
mov ecx, dword [eax*4 + 0x5b9068]
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [ecx + edx + 0x68]
imul edi, edi, 0x3e8
push eax
add edi, ebx
push edi
lea ecx, [esp + 0xc88]
push str._ftp_02d___s
push ecx
call fcn.004d5c40
mov eax, dword [esi + 0x348]
add esp, 0x10
lea edx, [esp + 0xc80]
push edx
push 0
push 0x143
push eax
call ebp
mov ecx, dword [esi + 0x348]
add edi, 0x64
push edi
push eax
push 0x151
push ecx
call ebp
mov edx, dword [esi + 0x904]
add dword [esp + 0x1c], 0x1ee8
inc ebx
cmp ebx, dword [edx*4 + 0x5b9040]
jl 0x4de7fa
mov edi, dword [esp + 0x18]
lea eax, [edi - 0x10]
mov byte [esp + 0x145c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de89b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x145c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de8c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x143c]
xor ecx, esp
call fcn.0053f73f
add esp, 0x144c
ret
push 0x80070057
call fcn.00401340
int3