Function at 0x401420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [0x4022ac], ebp
pushal
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0x80000002
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0x64
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 3
push 0x104
push 0x4021a4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 2
push 2
push 2
push 2
call fcn.004012b0
mov eax, dword [0x4021a0]
push eax
call fcn.004010b0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00401040
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.00401080
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jae 0x401518
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call section..text
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [0x4021a0]
add eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
push ecx
call fcn.00401370
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
jmp 0x4014c1
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00401160
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x60], 0
call fcn.004010a0
mov ecx, dword [0x4021a0]
push ecx
call fcn.004010b0
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
call fcn.00401040
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00401080
add esp, 0xc
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x64]
jae 0x4015cc
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call section..text
add esp, 8
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [0x4021a0]
add ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x60]
push edx
call fcn.00401370
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x6c]
sub edx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], edx
jmp 0x401574
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00401160
add esp, 8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
push 0x17000
call fcn.00401040
add esp, 4
mov dword [ebp - 0xc], eax
push 0x15500
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x200
push edx
call fcn.00401370
add esp, 0xc
mov eax, dword [ebp - 0xc]
sub eax, 0x400000
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00401250
add esp, 0xc
mov ecx, dword [0x4022ac]
jmp 0x401631
mov esp, ecx
pop eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x15350
mov dword [0x4022b0], ecx
jmp 0x401646
jmp fcn.00401650