Function at 0x41e820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov eax, dword [0x43600c]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x278], eax
call fcn.004293f0
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 0x41e894
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
call dword [section..00cfg]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x28]
push edi
push ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call ecx
test eax, eax
je 0x41e894
xor esi, esi
inc esi
jmp 0x41e8c1
push ebx
push 0x431c6a
call fcn.00405280
add esp, 8
call fcn.004293f0
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 0x41e8db
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.0042ee00
mov eax, esi
lea esp, [ebp - 0xc]
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.00423150
add esp, 0xc
test al, al
jne 0x41e8ff
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x41e8c1
call fcn.00422fc0
test al, al
je 0x41e8f6
mov eax, dword [0x43731c]
test eax, eax
je 0x41e8f6
lea ebx, [esp + 0x70]
push ebx
push 0x104
mov dword [esp + 0xc], eax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
dec eax
xor ecx, ecx
xorps xmm0, xmm0
cmp eax, 0x103
mov eax, dword [esp + 4]
cmovae ebx, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [ecx], eax
add eax, dword [eax + 8]
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x60], 0
mov dword [ecx + 4], eax
call fcn.004260d0
test eax, eax
mov dword [esp + 4], eax
je 0x41e8f6
mov ebx, dword [esp + 4]
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [ebx], 0xd
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3c], 5
mov dword [ebx + 0x44], 0x88
mov dword [ecx], eax
call fcn.00412040
mov ecx, ebx
push 1
xor edx, edx
push edx
push eax
lea eax, [esp + 0x38]
push dword [eax]
push edx
call fcn.00412100
test al, al
je 0x41e8f6
mov eax, dword [ebp + 0x10]
lea ebx, [esp + 0x28]
mov ecx, ebx
mov dword [ebx], eax
call fcn.00412040
mov ecx, dword [esp + 4]
xor edx, edx
inc edx
push edx
push 0
push eax
push dword [ebx]
push edx
call fcn.00412100
test al, al
je 0x41e8f6
mov eax, dword [esp + 0xc]
lea ebx, [esp + 0x24]
mov ecx, ebx
mov dword [ebx], eax
call fcn.00412040
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [ebx]
push 2
call fcn.00412100
mov ecx, 4
test al, al
je 0x41eaae
mov eax, dword [ebp + 0x28]
lea ebx, [esp + 0x20]
mov ecx, ebx
mov dword [ebx], eax
call fcn.00412040
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [ebx]
push 3
call fcn.00412100
mov ecx, 4
test al, al
je 0x41eaae
mov ecx, dword [esp + 4]
mov edx, dword [ebp + 0x30]
mov eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
push 6
push 1
push eax
push edx
push 4
call fcn.00412100
mov ecx, 4
test al, al
je 0x41eaae
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push dword [esp + 8]
call fcn.00426230
cmp eax, 0xa
mov dword [esp + 0xc], eax
je 0x41eaaa
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x18]
mov eax, dword [ebx + 0x74]
add eax, ebx
push eax
call fcn.004122e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb], al
push ebx
call fcn.004261f0
cmp byte [esp + 0xb], 0
mov ecx, 2
je 0x41eaae
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x41e8f6
push dword [esp + 0x38]
call dword [sym.imp.kernel32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x38], 0
jne 0x41e8c1
push dword [ebp + 0xc]
push 0x431c6a
call fcn.00405430
add esp, 8
jmp 0x41e88f