Function at 0x467b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 5
add esp, 0xfffff004
push eax
dec eax
jne 0x467b49
mov eax, dword [ebp - 4]
add esp, 0xfffffcc4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x467b7c
push ebx
call fcn.0049fe04
pop ecx
cmp eax, 0x400
jae 0x467f93
test esi, esi
je 0x467b92
mov eax, esi
call fcn.00411474
cmp eax, 0x400
jge 0x467f93
push 0
push 0
push 0
push 1
mov eax, 0x4d0b94
xor ecx, ecx
mov edx, ebx
call fcn.00458e40
test al, al
jne 0x467bb6
cmp byte [ebp + 0x14], 0
jne 0x467f93
push 1
push 0
mov eax, 0x4d0b94
mov ecx, esi
mov edx, ebx
call fcn.00457674
mov edi, eax
cmp edi, 1
je 0x467c3a
cmp dword [ebp + 8], 1
jne 0x467c07
test edi, edi
jne 0x467c07
push 0
push 1
push 0
push 0
mov eax, 0x4d0b94
xor ecx, ecx
mov edx, ebx
call fcn.00458e40
test al, al
je 0x467c07
mov eax, 0x1fc
call fcn.00413388
push eax
push ebx
call fcn.00480d50
add esp, 8
cmp dword [ebp + 8], 0
je 0x467f93
inc edi
jne 0x467f93
xor edx, edx
mov eax, ebx
call fcn.0040a918
test al, al
je 0x467f93
mov eax, 0x4bb2e4
mov edx, ebx
call fcn.0042eb78
jmp 0x467f93
cmp byte [ebp + 0xc], 0
je 0x467c5a
lea edx, [ebp - 0xa0]
mov eax, 0x4d0b94
call fcn.00458d98
cmp byte [ebp - 0xa], 0
jne 0x467f93
cmp byte [ebp + 0x10], 0
je 0x467ce8
mov eax, 0x4d0b94
call fcn.00458d90
test eax, eax
je 0x467ce8
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x4a0]
mov eax, 0x4d0b94
mov edx, ebx
call fcn.00458e40
lea edx, [ebp - 0x4a0]
mov eax, ebx
call fcn.0040fdc0
test eax, eax
je 0x467cb2
lea eax, [ebp - 0x4a0]
xor edx, edx
call fcn.0040a918
test al, al
jne 0x467f93
mov edx, 0x4b3618
lea eax, [ebp - 0x4a0]
call fcn.0040c830
lea edx, [ebp - 0x4a0]
mov eax, ebx
call fcn.0040fdc0
test eax, eax
je 0x467ce8
lea eax, [ebp - 0x4a0]
xor edx, edx
call fcn.0040a918
test al, al
jne 0x467f93
push 0xc30
push 0
lea ecx, [ebp - 0x10d0]
push ecx
call fcn.0049fc54
add esp, 0xc
lea edx, [ebp - 0x10d0]
mov eax, ebx
call fcn.0040adf8
call fcn.0041113c
test eax, eax
je 0x467d52
test esi, esi
je 0x467d1e
cmp word [esi], 0
jne 0x467d52
lea ecx, [ebp - 0x20d0]
push ecx
push 0x800
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea eax, [ebp - 0x20d0]
call fcn.0040ffac
test al, al
jne 0x467d52
lea esi, [ebp - 0x18d0]
mov ecx, 0x1000000
mov edx, esi
mov eax, ebx
call fcn.004111c4
mov eax, esi
call fcn.0040fd70
lea edx, [ebp - 0xcd0]
call fcn.0040ae48
mov ecx, dword [0x4d0d9c]
mov eax, 0x4d0b94
mov dword [ebp - 0x4a4], ecx
call fcn.00458d90
test eax, eax
je 0x467d85
or dword [ebp - 0x4b4], 4
mov edi, dword [ebp - 4]
test edi, edi
jne 0x467dc8
lea eax, [ebp - 0x2574]
call fcn.00414bf8
lea eax, [ebp - 0x2548]
call fcn.00414bf8
lea eax, [ebp - 0x251c]
call fcn.00414bf8
push 0
lea ecx, [ebp - 0x3188]
mov edx, esi
mov eax, ebx
call fcn.00413c50
test al, al
je 0x467dc8
lea edi, [ebp - 0x3188]
test edi, edi
je 0x467dfc
mov eax, dword [edi + 0xc00]
mov dword [ebp - 0x4d0], eax
mov eax, dword [edi + 0xc04]
mov dword [ebp - 0x4cc], eax
mov edx, dword [edi + 0x10a8]
mov dword [ebp - 0x4bc], edx
mov edx, dword [edi + 0x10ac]
mov dword [ebp - 0x4b8], edx
mov eax, 0x4d0b94
call fcn.00458d90
test eax, eax
je 0x467f39
cmp dword [0x4d0d9c], 0
jne 0x467f39
push ebx
lea edx, [ebp - 0x3588]
push edx
call fcn.0049fdd4
add esp, 8
mov eax, esi
call fcn.0040fd70
mov edx, eax
lea eax, [ebp - 0x3d88]
call fcn.00411488
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x4188]
mov eax, 0x4d0b94
mov edx, ebx
call fcn.00458e40
lea eax, [ebp - 0x4188]
xor edx, edx
call fcn.0040a918
test al, al
je 0x467e8b
lea ecx, [ebp - 0x4188]
push ecx
lea eax, [ebp - 0x3588]
push eax
call fcn.0049fdd4
mov word [ebp - 0x3d88], 0
add esp, 8
jmp 0x467ecb
mov edx, 0x4b3618
lea eax, [ebp - 0x4188]
call fcn.0040c830
lea eax, [ebp - 0x4188]
xor edx, edx
call fcn.0040a918
test al, al
je 0x467ecb
lea ecx, [ebp - 0x4188]
push ecx
lea eax, [ebp - 0x3588]
push eax
call fcn.0049fdd4
mov word [ebp - 0x3d88], 0
add esp, 8
lea ecx, [ebp - 0x3d88]
lea edx, [ebp - 0x3588]
mov eax, 0x4d0b94
call fcn.00459430
lea eax, [ebp - 0x462c]
call fcn.00414bf8
lea eax, [ebp - 0x4600]
call fcn.00414bf8
lea eax, [ebp - 0x45d4]
call fcn.00414bf8
push 0
lea ecx, [ebp - 0x5240]
lea edx, [ebp - 0x3d88]
lea eax, [ebp - 0x3588]
call fcn.00413c50
test al, al
je 0x467f39
mov eax, dword [ebp - 0x4640]
mov edx, dword [ebp - 0x463c]
add dword [ebp - 0x4d0], eax
adc dword [ebp - 0x4cc], edx
jmp 0x467ecb
inc dword [0x4d312c]
mov eax, dword [ebp - 0x4d0]
mov edx, dword [ebp - 0x4cc]
add dword [0x4d3138], eax
adc dword [0x4d313c], edx
lea edx, [ebp - 0x10d0]
mov eax, dword [ebp + 0x18]
call fcn.004632a8
mov ebx, eax
mov eax, 0x35c
inc ebx
push ebx
call fcn.00413388
push eax
lea edx, [ebp - 0x5340]
push edx
call fcn.004a2e18
add esp, 0xc
lea edx, [ebp - 0x5340]
mov eax, 0x4d03b8
call fcn.0048037c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14