Function at 0x402780
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402e9e
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
cmp dword [ecx + 0x70], 0
push ebx
mov dword [ebp - 0x28], ecx
push esi
push edi
mov dword [ebp - 0x10], esp
jne 0x4027d0
lea ecx, [ebp - 0x78]
call fcn.00441d46
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
call fcn.004024e0
mov dword [ebp - 4], 0xffffffff
call fcn.00402df5
lea ecx, [ebp - 0x2c4]
call fcn.00416340
push 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 3
push 0x4632dc
call fcn.0042a3b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00441c0e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.00440440
push 0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x8c], vtable.CFileException.0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xffffffff
call fcn.004406e8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00440440
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00440440
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00440440
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00440440
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20]
call fcn.00440440
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00440440
push 0x104
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push 0x104
call fcn.00440922
push eax
call fcn.0044fe5c
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00440977
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x11]
call fcn.0042e770
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x11]
push eax
call fcn.0042e6d0
push 8
lea ecx, [ebp - 0x2c4]
call fcn.004173b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x2ac]
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.004171d0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x11]
call fcn.0042e6d0
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0044099f
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00440977
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x11]
call fcn.0042e6d0
mov eax, dword [ebp - 0x28]
lea esi, [eax + 0x28]
mov eax, dword [eax + 0x60]
push eax
mov ecx, esi
call fcn.0042e1f0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x68]
push ecx
mov ecx, esi
call fcn.0042e1f0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov edx, dword [ecx + 0x64]
mov ecx, esi
push edx
call fcn.0042e1f0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
add eax, 0x14
mov dword [ebp - 0x48], eax
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e3d
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
add eax, 0x14
mov dword [ebp - 0x40], eax
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x50]
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e35
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
add eax, 0x14
mov dword [ebp - 0x38], eax
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e2d
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402a42
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402a42
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x402d77
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
lea eax, [ebp - 0x58]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e25
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
lea eax, [ebp - 0x5c]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e1d
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
lea eax, [ebp - 0x60]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e15
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402b12
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402b12
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x402d77
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
lea eax, [ebp - 0x64]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e0d
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
lea eax, [ebp - 0x68]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402e05
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
lea eax, [ebp - 0x6c]
push ecx
push edx
push eax
call fcn.004407da
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.00440698
mov byte [ebp - 4], 0xd
call fcn.00402dfd
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402be2
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402be2
push 0x4000
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x402d77
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb4]
push eax
call fcn.0042a5c0
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0xb4]
push eax
push 0x12
call fcn.0042adf0
test eax, eax
jne 0x402c1b
push 0
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00441ec7
push 0
mov eax, dword [ebp - 0x44]
push 0
push 1
push 2
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0042b010
lea ecx, [ebp - 0xb4]
call fcn.0042af60
lea ecx, [ebp - 0xb4]
call fcn.0042a5e0
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004406e8
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x24], 1
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0xb4]
push edx
call fcn.0042a5c0
lea ecx, [ebp - 0x8c]
push ecx
push 0x12
lea ecx, [ebp - 0xb4]
call fcn.0042adf0
test eax, eax
jne 0x402ca2
push 0
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00441ec7
push 0
mov eax, dword [ebp - 0x3c]
push 0
push 1
push 2
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0042b010
lea ecx, [ebp - 0xb4]
call fcn.0042af60
lea ecx, [ebp - 0xb4]
call fcn.0042a5e0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.004406e8
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], 1
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xb4]
push edx
call fcn.0042a5c0
lea ecx, [ebp - 0x8c]
push ecx
push 0x12
lea ecx, [ebp - 0xb4]
call fcn.0042adf0
test eax, eax
jne 0x402d29
push 0
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00441ec7
push 0
mov eax, dword [ebp - 0x34]
push 0
push 1
push 2
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0042b010
lea ecx, [ebp - 0xb4]
call fcn.0042af60
lea ecx, [ebp - 0xb4]
call fcn.0042a5e0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004406e8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x24], 1
mov byte [ebp - 4], 0xc
call fcn.00402e45
mov byte [ebp - 4], 0xb
call fcn.00402e4d
mov byte [ebp - 4], 0xa
call fcn.00402e55
mov byte [ebp - 4], 9
call fcn.00402e5d
mov byte [ebp - 4], 8
call fcn.00402e65
mov byte [ebp - 4], 7
call fcn.00402e6d
mov byte [ebp - 4], 4
call fcn.00402e88
mov byte [ebp - 4], 3
call fcn.00402e93
mov dword [ebp - 4], 0xffffffff
call fcn.00402ea8
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret