Function at 0x42d9c0
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 [0x448010]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x278], eax
call fcn.00437a30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp byte [eax + 4], 0
je 0x42da1d
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 0x42da3e
push edi
push 0x4412cb
call fcn.00413e60
add esp, 8
call fcn.00437a30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
xor esi, esi
cmp dword [eax], 2
jge 0x42da58
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.0043c380
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.00432110
add esp, 0xc
test al, al
jne 0x42da7c
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42da3e
call fcn.00431fa0
test al, al
je 0x42da73
mov eax, dword [0x44967c]
test eax, eax
je 0x42da73
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.00434c40
test eax, eax
mov dword [esp + 4], eax
je 0x42da73
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.004209a0
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x38]
push 0
call fcn.00420a60
test al, al
je 0x42da73
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.004209a0
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x34]
push 1
call fcn.00420a60
test al, al
je 0x42da73
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.004209a0
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x30]
push 2
call fcn.00420a60
mov ecx, 4
test al, al
je 0x42dc38
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.004209a0
mov ecx, dword [esp + 4]
push 1
push 0
push eax
push dword [esp + 0x2c]
push 3
call fcn.00420a60
mov ecx, 4
test al, al
je 0x42dc38
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.00420a60
mov ecx, 4
test al, al
je 0x42dc38
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push dword [esp + 8]
call fcn.00434d50
cmp eax, 0xa
mov dword [esp + 0xc], eax
je 0x42dc34
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x18]
mov eax, dword [ebx + 0x74]
add eax, ebx
push eax
call fcn.00420bc0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb], al
push ebx
call fcn.00434d10
cmp byte [esp + 0xb], 0
mov ecx, 2
je 0x42dc38
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x42da73
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x38], 0
jne 0x42da3e
push dword [ebp + 0xc]
push 0x4412cb
call fcn.00414090
add esp, 8
mov esi, 1
jmp 0x42da3e