Function at 0x41ead0
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 [0x43500c]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x278], eax
call fcn.00428b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp byte [eax + 4], 0
je 0x41eb2d
mov eax, dword [ebp + 8]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push edi
call eax
mov esi, 1
test eax, eax
jne 0x41eb4e
push edi
push 0x430e78
call fcn.00404e60
add esp, 8
call fcn.00428b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
xor esi, esi
cmp dword [eax], 2
jge 0x41eb68
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.0042da80
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.00423220
add esp, 0xc
test al, al
jne 0x41eb8c
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41eb4e
call fcn.004230b0
test al, al
je 0x41eb83
mov eax, dword [0x436304]
test eax, eax
je 0x41eb83
lea ecx, [esp + 0x70]
push ecx
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
lea eax, [esp + 0x70]
cmovb ecx, eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 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 [esp + 0x14], eax
call fcn.00425d50
test eax, eax
mov dword [esp + 4], eax
je 0x41eb83
mov eax, dword [esp + 4]
lea ecx, [esp + 0x2c]
mov dword [eax], 0xd
mov dword [eax + 4], 0
mov dword [eax + 0x3c], 5
mov dword [eax + 0x44], 0x88
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
call fcn.00411a70
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x38]
push 0
call fcn.00411b30
test al, al
je 0x41eb83
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.00411a70
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x34]
push 1
call fcn.00411b30
test al, al
je 0x41eb83
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00411a70
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x30]
push 2
call fcn.00411b30
mov ecx, 4
test al, al
je 0x41ed48
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.00411a70
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x2c]
push 3
call fcn.00411b30
mov ecx, 4
test al, al
je 0x41ed48
mov ecx, dword [esp + 4]
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], eax
push 6
push 1
push 0x10
push eax
push 4
call fcn.00411b30
mov ecx, 4
test al, al
je 0x41ed48
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push dword [esp + 8]
call fcn.00425e60
cmp eax, 0xa
mov dword [esp + 0xc], eax
je 0x41ed44
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x18]
mov eax, dword [ebx + 0x74]
add eax, ebx
push eax
call fcn.00411c90
lea ecx, [esp + 0x10]
mov byte [esp + 0xb], al
push ebx
call fcn.00425e20
cmp byte [esp + 0xb], 0
mov ecx, 2
je 0x41ed48
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x41eb83
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x38], 0
jne 0x41eb4e
push dword [ebp + 0xc]
push 0x430e78
call fcn.00405090
add esp, 8
mov esi, 1
jmp 0x41eb4e