Function at 0x4680b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e45c
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0x103
ja 0x46815f
xor esi, esi
lea edx, [ebp - 0x114]
cmp byte [ebp - 0x114], 0
je 0x46815f
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x468136
sub ecx, edi
cmp esi, dword [ebp + 8]
je 0x46814e
inc edx
inc esi
add edx, ecx
cmp byte [edx], al
jne 0x468131
jmp 0x46815f
push ecx
push edx
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
push str.Province
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
call fcn.0040d5d0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4681c0
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040d5d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004868a0
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x468237
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46822d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468282
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x468292
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x468288
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x468288
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
lea eax, [ebp - 0x290]
mov dword [ebp - 0x238], 0
push 0
push eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00485400
lea eax, [ebp - 0x290]
push eax
call fcn.00484090
add esp, 0xc
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x278]
movups xmmword [ebp - 0x278], xmm0
push 9
push str.game_path
call fcn.0040d5d0
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 5
push 0x59de09
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x260], xmm0
mov dword [ebp - 0x24c], 0
call fcn.0040d5d0
push 0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0048a710
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x46838b
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x468381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4683d6
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x4683e6
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4683dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4683dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x290]
mov ecx, esp
mov dword [ebp - 0x294], ecx
push eax
call fcn.0040a090
mov ecx, dword [0x5c2558]
call fcn.00471e80
push 0
push 0
push 0x603
push 5
push 0x57a04c
push str.ProvinceLauncherWindow
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x27c]
cmp ecx, 0xf
jbe 0x46846d
mov edx, dword [ebp - 0x290]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x468463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x468463
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret 4