Function at 0x4a55cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5b25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 2
jge 0x4a5649
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00409260
test al, al
jne 0x4a5649
xor ecx, ecx
mov edx, 0x2776
mov eax, dword [ebp - 4]
call fcn.004a36ac
jmp 0x4a5aff
mov eax, dword [ebp - 4]
cmp byte [eax + 0x61], 0
jne 0x4a5aff
mov eax, dword [ebp - 4]
cmp byte [eax + 0x17c], 0
je 0x4a5692
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
jne 0x4a5692
mov eax, dword [ebp - 4]
cmp word [eax + 0x28a], 0
jne 0x4a5692
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x214], edx
xor ecx, ecx
mov edx, 0x2906
mov eax, dword [ebp - 4]
call fcn.004a36ac
mov eax, dword [ebp - 4]
mov byte [eax + 0x3a], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 0
je 0x4a5713
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e8], 0
jne 0x4a56de
lea eax, [ebp - 0x221]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x221]
mov ecx, 0x201
call fcn.004044f8
jmp 0x4a56f2
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1e8]
mov eax, dword [ebp - 4]
call fcn.004a7068
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
call fcn.004a74c4
test eax, eax
je 0x4a5721
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 0
jmp 0x4a5aff
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
call fcn.00404320
lea edx, [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.004a6808
mov ebx, eax
test ebx, ebx
jne 0x4a573e
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 0
jmp 0x4a5aff
xor edx, edx
push ebp
push 0x4a5aae
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x4a5a13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x94
call fcn.00408450
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
lea edx, [ebp - 0x18]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004a4748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5c], 0
je 0x4a57c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00404548
inc eax
call fcn.00409b48
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x6c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00404548
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00409a04
jmp 0x4a57cc
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 3
lea eax, [eax + eax*8]
call fcn.00408450
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a587f
inc eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x48]
mov eax, ebx
shl eax, 3
lea eax, [eax + eax*8]
add esi, eax
lea ecx, [ebp - 0x228]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x228]
call fcn.00404548
inc eax
call fcn.00409b48
mov dword [esi], eax
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x22c]
call fcn.00404548
inc eax
push eax
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x230]
mov eax, dword [esi]
pop ecx
call fcn.00409a04
inc ebx
dec dword [ebp - 0x20]
jne 0x4a5802
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x40], eax
cmp dword [ebp - 8], 1
jne 0x4a593f
mov eax, dword [ebp - 4]
call fcn.004a3aa4
dec eax
test eax, eax
jl 0x4a593f
inc eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, ebx
call fcn.00419c1c
mov esi, eax
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x234]
call fcn.00404748
push eax
mov eax, dword [esi + 0x2a]
call fcn.00404748
mov edx, eax
pop eax
call fcn.00408704
test eax, eax
jne 0x4a5935
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x50], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x54], eax
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x40], 1
jmp 0x4a593f
inc ebx
dec dword [ebp - 0x20]
jne 0x4a58b1
cmp dword [ebp - 8], 2
jne 0x4a5997
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x5c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x50], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x90], 7
cmp dword [ebp - 8], 0
je 0x4a59bf
cmp dword [ebp - 8], 0
jle 0x4a59d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
cmp dword [eax + 0x50], 0
je 0x4a59d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
push eax
mov eax, dword [ebp - 4]
call dword [eax + 0x248]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
cmp dword [ebp - 8], 0
jle 0x4a59f5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 1
je 0x4a59f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0041d040
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 0
jle 0x4a5a09
mov eax, dword [ebp - 0x18]
call fcn.00409540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ab5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x258]
mov eax, dword [edi + 0x44]
call fcn.00409b94
mov eax, dword [edi + 0x18]
call fcn.00409b94
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x4a5a69
call fcn.00409b94
mov ebx, dword [edi + 0x40]
dec ebx
cmp ebx, 0
jl 0x4a5a8c
mov esi, dword [edi + 0x48]
mov eax, ebx
shl eax, 3
lea eax, [eax + eax*8]
add esi, eax
mov eax, dword [esi]
call fcn.00409b94
dec ebx
cmp ebx, 0xffffffff
jne 0x4a5a72
mov eax, dword [edi + 0x48]
call fcn.00402768
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
call fcn.00402768
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x258], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5b2c
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.004042ac
lea eax, [ebp - 0x18]
call fcn.00404288
ret