Function at 0x402060
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
mov esi, eax
lea ebx, [ebp - 0x6c]
mov edi, 0x4db37a
mov eax, 0x4db91c
call fcn.004bd598
lea edx, [ebp - 0x150]
push edx
push 0xc8
call sub.KERNEL32.DLL_GetTempPathA
mov word [ebx + 0x10], 8
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004c62ac
mov edx, eax
inc dword [ebx + 0x1c]
mov eax, 0x4ef58c
call fcn.004c63ac
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004c637c
push 1
mov ecx, dword [0x4dbe94]
push ecx
call fcn.004024b0
add esp, 8
mov dword [0x4ef598], eax
mov word [ebx + 0x10], 0x14
lea edx, [edi + 0xd3]
lea eax, [ebp - 0x10]
call fcn.004c62ac
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x4ef58c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004c63d4
lea eax, [ebp - 0x14]
mov eax, dword [eax]
call fcn.004644bc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004c637c
mov word [ebx + 0x10], 0x20
lea edx, [edi + 0xd7]
lea eax, [ebp - 0x18]
call fcn.004c62ac
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4ef58c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.004c63d4
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
call fcn.004644bc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004c637c
mov word [ebx + 0x10], 0x2c
lea edx, [edi + 0xe1]
lea eax, [ebp - 0x20]
call fcn.004c62ac
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, 0x4ef58c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004c63d4
lea edx, [ebp - 0x24]
mov eax, dword [0x4ef598]
add eax, 0x5c
call fcn.004c63ac
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004c637c
lea ecx, [edi + 0xec]
lea edx, [edi + 0xf4]
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x28]
mov word [ebx + 0x10], 0x44
call fcn.004c62ac
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov edx, dword [0x4eeed4]
push ecx
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x446514]
mov ecx, dword [edx]
mov dl, 1
call fcn.0044b26c
mov dword [ebp - 0x74], eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004c637c
mov word [ebx + 0x10], 0x38
mov word [ebx + 0x10], 0x50
lea edx, [edi + 0xfa]
lea eax, [ebp - 0x2c]
call fcn.004c62ac
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, 0x4ef58c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.004c63d4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x74]
mov edx, dword [edx]
call fcn.0044af38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004c637c
push 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x78]
push edx
push 0
push 0
lea ecx, [edi + 0x108]
push ecx
call sub.KERNEL32.DLL_GetVolumeInformationA
mov word [ebx + 0x10], 0x5c
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
inc dword [ebx + 0x1c]
mov edx, 0xc
mov eax, dword [ebp - 0x78]
call fcn.00455638
lea edx, [ebp - 0x34]
mov eax, 0x4db258
call fcn.004c63ac
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004c637c
mov word [ebx + 0x10], 0x68
lea edx, [edi + 0x10c]
lea eax, [ebp - 0x38]
call fcn.004c62ac
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, esi
call fcn.0049f254
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004c637c
xor edx, edx
mov eax, dword [esi + 0x318]
call fcn.0049f144
mov edx, 0xc8
mov eax, dword [esi + 0x318]
call fcn.0049e96c
mov word [ebx + 0x10], 0x74
lea edx, [edi + 0x117]
lea eax, [ebp - 0x3c]
call fcn.004c62ac
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, 0x4db258
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
call fcn.004c63d4
lea eax, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x44]
inc dword [ebx + 0x1c]
mov edx, 0x4db250
call fcn.004c63d4
lea edx, [ebp - 0x44]
mov eax, 0x4db260
call fcn.004c63ac
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004c637c
mov word [ebx + 0x10], 0x80
mov ecx, dword [0x4db260]
mov eax, dword [0x4ef594]
push ecx
push eax
xor edx, edx
lea ecx, [ebp - 4]
mov dword [ebp - 4], edx
push ecx
inc dword [ebx + 0x1c]
call fcn.0041395c
mov word [ebx + 0x10], 0x38
mov word [ebx + 0x10], 0x8c
add esp, 0xc
lea edx, [edi + 0x119]
lea eax, [ebp - 8]
call fcn.004c62ac
inc dword [ebx + 0x1c]
mov eax, esi
mov word [ebx + 0x10], 0x38
mov dx, 0xfff5
call fcn.0049f430
mov edi, dword [esi + 0x324]
xor edx, edx
mov dword [ebp - 0x88], 0x402a04
mov dword [ebp - 0x84], esi
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x88]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x54], eax
mov eax, 0x4db238
mov word [ebx + 0x10], 0x98
mov dword [ebp - 0x48], edx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
call fcn.004c63d4
lea edx, [ebp - 0x48]
mov eax, edi
mov edx, dword [edx]
call fcn.00412e70
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c637c
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004c637c
mov ecx, dword [ebx]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret