Function at 0x4ab410
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x360]
sub esp, 0x360
push 0xfffffffffffffffe
push 0x6716b0
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x35c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x368]
mov edi, dword [ebp + 0x36c]
mov ebx, dword [ebp + 0x370]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x374]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x378]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x37c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x380]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x4ab4a5
mov dword [eax], ecx
cmp byte [0x743e88], 0
jne 0x4ab4be
push 0x743e88
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
push ebx
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4ab4e6
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
push 0
push ebx
jmp 0x4ab51f
test esi, esi
je 0x4ab4f9
cmp byte [esi], 0
je 0x4ab4f9
push 0
push esi
call fcn.004dfec0
jmp 0x4ab524
push 0
push 0x80
push 3
push 0
push 1
push connect
push edi
call fcn.004e0530
add esp, 0x1c
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4ab545
push 0
push eax
call fcn.004dfea0
add esp, 8
mov edi, eax
test edi, edi
jne 0x4ab553
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ab53c
mov ecx, dword [0x74aea4]
mov dword [eax], ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004dca10
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4ab851
mov eax, dword [edi + 4]
mov ecx, dword [eax]
test byte [ecx + 0x30], 1
je 0x4ab5ae
push edi
call fcn.004d5750
add esp, 4
push edi
test al, al
je 0x4ab573
call fcn.004e0250
jmp 0x4ab578
call fcn.004e76c0
add esp, 4
lea edx, [ebp - 0x1c]
push edx
call fcn.004dca10
push ebx
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4ab5a0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4ab851
push 0x12c
push 0
lea ecx, [ebp]
push ecx
call fcn.005dfd60
lea edx, [ebp]
push edx
push 0xffffffffffffffff
push edi
call fcn.004d5700
add esp, 0x18
mov eax, dword [ebp]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4ab614
push edi
call fcn.004d5750
add esp, 4
push edi
test al, al
je 0x4ab5ec
call fcn.004e0250
jmp 0x4ab5f1
call fcn.004e76c0
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.004dca10
push ebx
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4ab5a0
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x4ab599
xor ebx, ebx
mov dword [ebp - 0x48], ebx
cmp ebx, dword [ebp - 0x44]
jge 0x4ab650
push 0x12c
xor esi, esi
push esi
lea edx, [ebp + 0x12c]
push edx
call fcn.005dfd60
lea eax, [ebp + 0x12c]
push eax
push ebx
push edi
call fcn.004d5700
add esp, 0x18
cmp eax, esi
je 0x4ab66c
mov ecx, dword [ebp - 0x3c]
cmp ecx, esi
je 0x4ab650
mov dword [ecx], eax
push edi
call fcn.004d5750
add esp, 4
push edi
test al, al
je 0x4ab7fd
call fcn.004e0250
jmp 0x4ab802
mov byte [ebp + 0x258], 0
push 0x103
push esi
lea ecx, [ebp + 0x259]
push ecx
call fcn.005dfd60
add esp, 0xc
mov dword [ebp - 0x30], esi
test byte [ebp + 0x234], 0x10
jne 0x4ab7f7
cmp dword [ebp + 0x254], esi
jle 0x4ab7f7
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4ab76c
cmp byte [eax], 0
je 0x4ab76c
push 0x60cf1c
push 0x66da34
lea edx, [ebp + 0x130]
push edx
call fcn.004e9030
push 0x2f
lea eax, [ebp + 0x130]
push eax
call fcn.005e0a00
add esp, 0x14
mov esi, eax
test esi, esi
je 0x4ab6eb
inc esi
jmp 0x4ab6f1
lea esi, [ebp + 0x130]
push 0x2f
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005e0940
add esp, 8
test eax, eax
je 0x4ab73c
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp + 0x130]
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ab7f7
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4ab76a
lea ecx, [ebp + 0x130]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4ab730
jmp 0x4ab76a
push esi
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x4ab7f7
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4ab76a
lea ecx, [ebp + 0x130]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4ab760
xor esi, esi
mov dword [ebp - 0x28], 1
lea edx, [ebp + 0x258]
push edx
push esi
push 0x640084
push 0x743e88
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp + 0x258]
push eax
push ebx
push edi
call fcn.004dff00
add esp, 0xc
cmp eax, esi
jne 0x4ab7e0
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp + 0x258]
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x4ab7e0
cmp dword [ebp - 0x30], esi
je 0x4ab7e0
mov dword [ebp - 0x2c], 1
lea ecx, [ebp + 0x258]
mov edx, dword [ebp - 0x38]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4ab7d1
jmp 0x4ab650
mov dword [ebp - 0x2c], esi
lea eax, [ebp + 0x258]
push eax
call fcn.004e0670
add esp, 4
jmp 0x4ab650
inc ebx
jmp 0x4ab616
call fcn.004e76c0
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004dca10
mov esi, dword [ebp - 0x40]
push esi
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4ab847
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4ab847
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x35c]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x360
mov esp, ebp
pop ebp
ret