Function at 0x10321e20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10361e81
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x368], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38c]
xorps xmm0, xmm0
movq qword [esp + 0x124], xmm0
mov dword [esp + 0x12c], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x384], 0
lea eax, [esp + 0x124]
push eax
call fcn.1032f750
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp esi, eax
je 0x10322794
xor eax, eax
push 0x206
push eax
mov word [esp + 0x174], ax
lea eax, [esp + 0x176]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x16c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, 0x14
mov dword [esp + 0x11c], eax
mov dword [esp + 0xd0], esi
jmp 0x10321f20
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], 0
mov byte [esp + 0x130], 0
mov byte [esp + 0x384], 1
cmp dword [esi], 8
jb 0x10321f66
mov ecx, dword [esi - 0x14]
jmp 0x10321f69
lea ecx, [esi - 0x14]
mov edx, dword [esi - 4]
lea eax, [esp + 0x130]
push eax
call fcn.101572f0
add esp, 4
cmp dword [esp + 0x140], 0
jne 0x10321f93
mov byte [esp + 0x384], 0
jmp 0x10322738
xor eax, eax
mov dword [esp + 0x164], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x15c], ax
lea ecx, [esp + 0x15c]
lea eax, [esi + 4]
mov dword [esp + 0x170], 0
push eax
mov dword [esp + 0x174], 7
mov dword [esp + 0x170], 0
call fcn.100cd9d0
mov byte [esp + 0x384], 2
mov edx, 0x105867b4
lea ecx, [esp + 0x154]
call fcn.1014d6d0
mov edx, 0x105867b4
lea ecx, [esp + 0x154]
call fcn.1014d740
mov eax, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
cmp eax, dword [esp + 0x11c]
lea edx, [esp + 0x120]
mov dword [esp + 0x120], eax
cmovae edx, ecx
cmp dword [esp + 0x168], 8
lea ecx, [esp + 0x154]
cmovae ecx, dword [esp + 0x154]
mov eax, dword [edx]
test eax, eax
je 0x103226f7
push eax
lea edx, [esp + 0x170]
call fcn.1014d490
add esp, 4
test eax, eax
je 0x103226f7
push 1
push ecx
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 0x22
push eax
lea ecx, [esp + 0x160]
call fcn.1014e9b0
mov esi, eax
cmp esi, 0xffffffff
je 0x1032220c
push esi
push 0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x160]
call fcn.1010cce0
mov byte [esp + 0x384], 3
mov edx, 0x103684f8
lea ecx, [esp + 0xd4]
call fcn.1014d6d0
mov edx, 0x103684f8
lea ecx, [esp + 0xd4]
call fcn.1014d740
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x160]
call fcn.1010cce0
mov byte [esp + 0x384], 4
lea edx, [esp + 0xd4]
push eax
lea ecx, [esp + 0x58]
call fcn.10337b70
add esp, 4
mov esi, eax
mov byte [esp + 0x384], 5
lea eax, [esp + 0x154]
cmp eax, esi
je 0x10322161
cmp dword [esp + 0x168], 8
jb 0x10322134
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
push esi
lea ecx, [esp + 0x158]
mov dword [esp + 0x168], 0
mov word [esp + 0x158], ax
call fcn.100cd880
mov byte [esp + 0x384], 4
cmp dword [esp + 0x68], 8
jb 0x10322179
push dword [esp + 0x54]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x384], 3
cmp dword [esp + 0x98], 8
jb 0x103221ae
push dword [esp + 0x84]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x384], 2
cmp dword [esp + 0xe8], 8
jb 0x103221ec
push dword [esp + 0xd4]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 6
lea edx, [esp + 0x154]
lea ecx, [esp + 0x6c]
call fcn.10153380
mov esi, eax
mov byte [esp + 0x384], 7
lea edx, [esp + 0x154]
lea ecx, [esp + 0x3c]
call fcn.10153380
mov byte [esp + 0x384], 8
cmp dword [eax + 0x14], 8
jb 0x10322282
mov eax, dword [eax]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x104]
push ecx
mov ecx, eax
call fcn.101572f0
add esp, 4
mov byte [esp + 0x384], 7
cmp dword [esp + 0x50], 8
jb 0x103222af
push dword [esp + 0x3c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov byte [esp + 0x384], 6
cmp dword [esp + 0x80], 8
jb 0x103222e1
push dword [esp + 0x6c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
cmp dword [esp + 0x114], eax
jne 0x103223ab
mov byte [esp + 0x384], 2
cmp dword [esp + 0x118], 0x10
jb 0x10322326
push dword [esp + 0x104]
call edi
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 1
cmp dword [esp + 0x168], 8
jb 0x10322362
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], 0
mov word [esp + 0x154], ax
mov byte [esp + 0x384], al
cmp dword [esp + 0x144], 0x10
jb 0x1032239f
push dword [esp + 0x130]
call edi
add esp, 4
mov esi, dword [esp + 0xd0]
jmp 0x1032274e
xorps xmm0, xmm0
mov dword [esp + 0x150], eax
movq qword [esp + 0x148], xmm0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov byte [esp + 0x384], 9
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x108]
call fcn.1017e680
mov eax, dword [esp + 0x14c]
add esp, 4
mov ecx, dword [esp + 0x14c]
cmp eax, ecx
je 0x10322673
xorps xmm0, xmm0
movdqu xmmword [esp + 0xec], xmm0
movq qword [esp + 0xfc], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xf4], eax
and eax, 0xffffff00
mov dword [esp + 0xf4], eax
and eax, 0xfffffeff
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov byte [esp + 0x384], 0xf
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x28]
call fcn.101b91f0
mov byte [esp + 0x384], 0x10
lea ecx, [esp + 0xec]
push 0x10368808
push 0x10368804
call fcn.101ba490
mov byte [esp + 0x384], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0x24]
call fcn.101b9430
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0xc]
push eax
call fcn.101b91f0
mov byte [esp + 0x384], 0x12
lea ecx, [esp + 0xec]
push 0x105867a0
push str.file
call fcn.101ba490
mov byte [esp + 0x384], 0x13
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0xc]
call fcn.101b9430
mov esi, dword [esp + 0xd0]
mov byte [esp + 0xa4], 1
and dword [esp + 0xa4], 0xfffffeff
mov dword [esp + 0xa8], 0
mov eax, dword [esi + 0x1c]
cdq
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov byte [esp + 0x384], 0x14
lea ecx, [esp + 0xec]
push 0x105867aa
push str.status
call fcn.101ba490
mov byte [esp + 0x384], 0x15
lea ecx, [esp + 0x9c]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0x9c]
call fcn.101b9430
mov byte [esp + 0xbc], 1
and dword [esp + 0xbc], 0xfffffeff
mov dword [esp + 0xc0], 0
mov eax, dword [esi + 0x20]
cdq
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov byte [esp + 0x384], 0x16
lea ecx, [esp + 0xec]
push 0x105867c9
push str.start
call fcn.101ba490
mov byte [esp + 0x384], 0x17
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.101b95d0
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0xb4]
call fcn.101b9430
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0xec]
push eax
call fcn.101ba950
mov byte [esp + 0x384], 9
lea ecx, [esp + 0xec]
call fcn.101b9430
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
jmp 0x1032267a
mov esi, dword [esp + 0xd0]
mov byte [esp + 0x384], 6
test eax, eax
je 0x103226bb
push ecx
push eax
call fcn.1017ea40
mov eax, dword [esp + 0x148]
push eax
call edi
add esp, 4
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov byte [esp + 0x384], 2
cmp dword [esp + 0x118], 0x10
jb 0x103226d9
push dword [esp + 0x104]
call edi
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 1
cmp dword [esp + 0x168], 8
jb 0x10322715
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], eax
mov word [esp + 0x154], ax
mov byte [esp + 0x384], al
cmp dword [esp + 0x144], 0x10
jb 0x1032274e
push dword [esp + 0x130]
call edi
add esp, 4
add esi, 0x38
mov byte [esp + 0x130], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0xd0], esi
lea eax, [esi - 0x14]
cmp eax, dword [esp + 0x128]
jne 0x10321f20
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov dword [esp + 0x384], 0xffffffff
test esi, esi
je 0x103227db
push dword [esp + 0xcc]
mov edx, eax
push ecx
mov ecx, esi
call fcn.10306cc0
push esi
call edi
add esp, 0xc
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.1033d458
add esp, 0x37c
ret 4