Function at 0x468710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x138], ecx
mov ecx, dword [ebp - 0x138]
add ecx, 0xadc
call fcn.004b5f47
mov ecx, dword [ebp - 0x138]
add ecx, 0x190
call fcn.0045bed0
movzx eax, al
test eax, eax
jne 0x4687b8
mov ecx, dword [ebp - 0x138]
add ecx, 0x190
push ecx
mov edx, esp
mov dword [ebp - 0x124], esp
push ecx
mov ecx, edx
call fcn.004014c0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x138]
add eax, 0xadc
push eax
mov ecx, dword [ebp - 0x138]
call fcn.00468650
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x4687b3
jmp 0x468a4f
jmp 0x468867
mov ecx, dword [ebp - 0x138]
cmp dword [ecx + 0x198], 0
je 0x4687f0
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0xadc
call fcn.004b5f1a
test eax, eax
jne 0x4687ee
jmp 0x468a4f
jmp 0x468867
mov ecx, dword [ebp - 0x138]
cmp dword [ecx + 0x194], 0
jbe 0x468862
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x4e0384
call fcn.0045c060
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x194]
push eax
call fcn.0047a940
add esp, 8
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0xadc
call fcn.004b5f1a
test eax, eax
jne 0x468860
jmp 0x468a4f
jmp 0x468867
jmp 0x468a4f
mov eax, dword [ebp - 0x138]
add eax, 0xadc
push eax
mov ecx, dword [ebp - 0x138]
call fcn.00468b40
mov ecx, dword [ebp - 0x138]
add ecx, 0xa98
call fcn.004621c0
push eax
mov ecx, dword [ebp - 0x138]
call fcn.0046a9a0
lea ecx, [ebp - 0x11c]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0045c060
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0046a6b0
mov eax, dword [str._aadib.bmp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045bdf0
mov ecx, dword [ebp - 0x138]
add ecx, 0xadc
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x138]
call fcn.0046a2e0
mov ecx, dword [ebp - 0x138]
add ecx, 0xadc
call fcn.004b5f47
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045c060
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0046a6b0
mov ecx, dword [str._aa.bmp]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0045bdf0
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xa94]
push eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0xa90]
push edx
lea ecx, [ebp - 0x18]
call fcn.0046abc0
push eax
lea ecx, [ebp - 0x10]
call fcn.0046abc0
push eax
lea ecx, [ebp - 0x14]
call fcn.0045cea0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0045c230
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0045c230
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea eax, [ebp - 0x10]
push eax
call fcn.004014c0
mov dword [ebp - 0x14c], eax
call fcn.0047b5d0
add esp, 4
mov ecx, dword [ebp - 0x138]
add ecx, 0x1c0
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004014c0
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x138]
call fcn.004684d0
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jne 0x468a08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045cee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014e0
jmp 0x468a4f
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea eax, [ebp - 0x18]
push eax
call fcn.004014c0
mov dword [ebp - 0x158], eax
call fcn.0047b5d0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045cee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00497e50
mov esp, ebp
pop ebp
ret