Function at 0x4235b0
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x458]
sub esp, 0x458
push 0xffffffffffffffff
push 0x560239
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5a800c]
xor eax, ebp
mov dword [ebp + 0x454], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp + 0x24]
mov dword [ebp - 0x18], 0
call fcn.00402410
mov dword [ebp - 4], 1
test edx, edx
jne 0x423620
mov eax, ecx
mov ecx, ebx
push eax
call fcn.00405080
jmp 0x4239d8
push str.Kernel32.dll
lea ecx, [ebp - 0x60]
call fcn.00404ba0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
push eax
call fcn.00424480
mov ecx, eax
call fcn.00424540
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00402400
push str.Psapi.dll
lea ecx, [ebp - 0x48]
call fcn.00404ba0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
call fcn.00424480
mov ecx, eax
call fcn.00424540
mov edi, eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00402400
test edi, edi
je 0x4239cd
test esi, esi
je 0x4239cd
lea ecx, [ebp + 0x334]
call fcn.00420fc0
cmp dword [ebp + 0x338], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x42371c
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x42371c
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp + 0x3c], 0x208
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x40]
push eax
push 0
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x42371c
mov eax, dword [ebp + 0x3c]
cmp eax, 0x208
jae 0x423707
add eax, eax
cmp eax, 0x412
jae 0x423a10
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea ecx, [ebp + 0x40]
call fcn.004028c0
push eax
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x24]
call fcn.00402610
lea ecx, [ebp + 0x24]
call fcn.00402520
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
test eax, eax
jne 0x4239a9
push str.GetProcessImageFileNameW
push dword [ebp - 0x20]
call edi
mov esi, eax
test esi, esi
jne 0x423754
push str.GetProcessImageFileNameW
push dword [ebp - 0x24]
call edi
mov esi, eax
test esi, esi
je 0x4237a9
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push dword [ebp - 0x14]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x4237a9
add eax, eax
cmp eax, 0x412
jae 0x423a10
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea ecx, [ebp + 0x40]
call fcn.004028c0
push eax
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x24]
call fcn.00402610
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
test eax, eax
je 0x423932
push 0x410
call fcn.00559a74
push 0x410
mov ebx, eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea ecx, [ebp + 0x18]
push 0xc
call fcn.00402370
lea ecx, [ebp + 0x18]
call fcn.004023a0
mov byte [ebp - 4], 4
call fcn.00430ae0
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x1c], 0
call fcn.00405060
test eax, eax
je 0x423914
call fcn.00402520
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp + 0x3c], eax
mov edi, dword [ecx]
add edi, eax
mov ecx, edi
call fcn.00402520
mov eax, dword [eax + 0x10]
cmp eax, 3
jb 0x42384b
call fcn.00402520
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x423837
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x42384b
cmp edx, 8
jb 0x423845
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ebx
mov ecx, edi
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x423866
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x423870
sub esi, ecx
sar esi, 1
je 0x4238a0
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax]
jae 0x4238a0
push esi
push ebx
lea ecx, [ebp + 0x24]
call fcn.004023c0
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x4238c2
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp + 0x18]
add dword [ebp + 0x3c], 0x18
inc esi
mov dword [ebp - 0x1c], esi
call fcn.00405060
cmp esi, eax
jae 0x42390b
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x28]
jmp 0x423813
lea ecx, [ebp]
call fcn.00402410
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x24]
call fcn.004023c0
mov ecx, edi
lea eax, [eax + esi*2]
push eax
call fcn.004023c0
push eax
lea eax, [ebp]
push 0x57fdcc
push eax
call fcn.00419340
add esp, 0x10
lea eax, [ebp]
lea ecx, [ebp + 0x24]
push eax
call fcn.00422040
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00402400
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x10]
push ebx
call fcn.00559c78
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.00402390
mov eax, dword [esi]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x4239a9
push str.GetModuleFileNameExW
push dword [ebp - 0x20]
call edi
mov esi, eax
test esi, esi
jne 0x423952
push str.GetModuleFileNameExW
push dword [ebp - 0x24]
call edi
mov esi, eax
test esi, esi
je 0x4239a9
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push 0
push dword [ebp - 0x14]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x4239a9
add eax, eax
cmp eax, 0x412
jae 0x423a10
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea ecx, [ebp + 0x40]
call fcn.004028c0
push eax
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x24]
call fcn.00402610
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x48]
call fcn.0041bba0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x24]
push eax
call fcn.00404b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00402400
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.00405080
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00402400
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.0055929f
lea esp, [ebp + 0x458]
pop ebp
ret
call fcn.00559b9e
int3