Function at 0x415fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x26c
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x438014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0042f5a0
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
cmp byte [eax + 4], 0
je 0x41602d
mov esi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
call dword [section..00cfg]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call ecx
test eax, eax
je 0x41602d
xor esi, esi
inc esi
jmp 0x41605a
push ebx
push 0x432eec
call fcn.0041c460
add esp, 8
call fcn.0042f5a0
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
xor esi, esi
cmp dword [eax], 0
jg 0x416073
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417da0
mov eax, esi
add esp, 0x26c
pop esi
pop edi
pop ebx
pop ebp
ret 0x2c
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
push 1
push 0x10
push dword [ebp + 0x30]
call fcn.0042b610
add esp, 0xc
test al, al
jne 0x416097
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x41605a
call fcn.0042b460
test al, al
je 0x41608e
mov eax, dword [0x43929c]
test eax, eax
je 0x41608e
lea ebx, [ebp - 0x218]
push ebx
push 0x104
mov dword [ebp - 0x270], eax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
dec eax
xor ecx, ecx
cmp eax, 0x103
cmovae ebx, ecx
mov dword [ebp - 0x278], ebx
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov dword [ecx], eax
add eax, dword [eax + 8]
mov dword [ecx + 4], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
movups xmmword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x21c], 0
call fcn.0042d310
mov dword [ebp - 0x270], eax
test eax, eax
je 0x41608e
mov ebx, dword [ebp - 0x270]
mov dword [ebx], 0xd
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x3c], 5
mov dword [ebx + 0x44], 0x88
lea ecx, [ebp - 0x250]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004223d0
mov ecx, ebx
push 1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x250]
push dword [eax]
push edx
call fcn.00422490
test al, al
je 0x41608e
lea ebx, [ebp - 0x254]
mov eax, dword [ebp + 0x10]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
xor edx, edx
inc edx
mov ecx, dword [ebp - 0x270]
push edx
push 0
push eax
push dword [ebx]
push edx
call fcn.00422490
test al, al
je 0x41608e
lea ebx, [ebp - 0x258]
mov eax, dword [ebp - 0x278]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
mov ecx, dword [ebp - 0x270]
push 1
push 0
push eax
push dword [ebx]
push 2
call fcn.00422490
test al, al
je 0x41608e
lea ebx, [ebp - 0x25c]
mov eax, dword [ebp + 0x28]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
mov ecx, dword [ebp - 0x270]
push 1
push 0
push eax
push dword [ebx]
push 3
call fcn.00422490
test al, al
je 0x41608e
mov eax, 0x10
mov dword [ebp - 0x264], eax
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x260], edx
mov ecx, dword [ebp - 0x270]
push 6
push 1
push eax
push edx
push 4
call fcn.00422490
test al, al
je 0x41608e
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call fcn.0042d470
mov dword [ebp - 0x278], eax
cmp eax, 0xa
je 0x41608e
mov ebx, dword [ebp - 0x270]
mov eax, dword [ebx + 0x74]
add eax, ebx
lea ecx, [ebp - 0x264]
push eax
call fcn.0041ce50
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x26c]
push ebx
call fcn.0042d430
cmp byte [ebp - 0x271], 0
je 0x41608e
cmp dword [ebp - 0x278], 0
jne 0x41608e
push dword [ebp - 0x244]
call dword [sym.imp.kernel32.dll_SetLastError]
xor esi, esi
cmp dword [ebp - 0x244], 0
jne 0x41605a
push dword [ebp + 0xc]
push 0x432eec
call fcn.0041c6d0
add esp, 8
jmp 0x416028