Function at 0x442cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push edi
lea ecx, [ebp - 0xc]
call fcn.004282a8
push closesocket
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0042f491
cmp dword [ebp - 8], 0
mov edi, 0x49ab64
jg 0x442e8c
lea eax, [ebp - 0x18]
push eax
call fcn.00457d47
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00424f5b
lea ecx, [ebp - 0x18]
call fcn.00425c1b
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x442d4d
cmp word [esi], 0x2e
jne 0x442d4d
add esi, 2
push ebx
push esi
call fcn.004319c9
pop ecx
test al, al
jne 0x442eff
lea ecx, [ebp - 0xc8]
call fcn.00401a0d
lea ecx, [ebp - 0x18]
call fcn.004282a8
xor ebx, ebx
push esi
call fcn.0042b060
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.00427ca7
mov ecx, edi
cmp dword [eax], 0
cmovne ecx, dword [eax]
mov eax, edi
cmp dword [ebp - 0xc], 0
push ecx
cmovne eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004444c6
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00424f5b
lea ecx, [ebp - 0x28]
call fcn.00425c1b
lea ecx, [ebp - 0x34]
call fcn.00425c1b
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc8]
push 0x80
mov eax, 0x49ab60
cmovne eax, dword [ebp - 0x18]
push 0x2002
push eax
call fcn.00447260
test eax, eax
je 0x442ecf
mov edi, dword [ebp + 0x14]
and edi, 1
cmp ebx, 0xc8
jne 0x442e1b
test edi, edi
jne 0x442e48
lea eax, [ebp - 0x40]
push eax
call fcn.00457d47
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00424f5b
lea ecx, [ebp - 0x40]
call fcn.00425c1b
cmp ebx, 0x12c
jne 0x442e48
test edi, edi
jne 0x442e48
push str.c:_temp
call fcn.004413ad
pop ecx
test al, al
je 0x442e48
push closesocket
push str.c:_temp
lea ecx, [ebp - 0xc]
call fcn.0042f491
inc ebx
mov edi, 0x49ab64
cmp ebx, 0x190
jl 0x442d72
mov ecx, dword [ebp + 8]
call fcn.004282a8
mov ecx, dword [ebp + 8]
push closesocket
push 0x49bd2d
call fcn.0042ef3b
lea ecx, [ebp - 0x18]
call fcn.00425c1b
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443094
cmp dword [ebp - 0xc], 0
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.004413ad
pop ecx
test al, al
jne 0x442d3c
mov ecx, dword [ebp + 8]
call fcn.004282a8
mov ecx, dword [ebp + 8]
push closesocket
push 0x49bd2d
call fcn.0042ef3b
lea ecx, [ebp - 0xc]
call fcn.00425c1b
mov eax, dword [ebp + 8]
jmp 0x4430a1
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x18], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 4], eax
call fcn.00425c1b
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x44306c
xor eax, eax
lea ecx, [ebp - 0x2d4]
cmp dword [ebp - 0xc], 0
push ecx
mov word [ebp - 0x2d4], ax
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push 0
push 0x4a5808
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x2d4], 0
jne 0x443078
push esi
call fcn.004319c9
pop ecx
test al, al
mov ecx, 0x4a5810
cmove ecx, esi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.004282a8
xor edi, edi
mov ebx, str.c:_temp
push dword [ebp - 0x1c]
call fcn.0042b060
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.00427ca7
mov esi, 0x49ab64
mov ecx, esi
cmp dword [eax], 0
cmovne ecx, dword [eax]
mov eax, esi
cmp dword [ebp - 0xc], 0
push ecx
cmovne eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004444c6
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00424f5b
lea ecx, [ebp - 0x40]
call fcn.00425c1b
lea ecx, [ebp - 0x34]
call fcn.00425c1b
cmp dword [ebp - 0x18], 0
mov eax, esi
cmovne eax, dword [ebp - 0x18]
push eax
call fcn.00443896
pop ecx
test al, al
je 0x44304c
mov esi, dword [ebp + 0x14]
and esi, 1
cmp edi, 0xc8
jne 0x442ff6
test esi, esi
jne 0x44301b
lea eax, [ebp - 0x28]
push eax
call fcn.00457d47
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00424f5b
lea ecx, [ebp - 0x28]
call fcn.00425c1b
cmp edi, 0x12c
jne 0x44301b
test esi, esi
jne 0x44301b
push ebx
call fcn.004413ad
pop ecx
test al, al
je 0x44301b
push closesocket
push ebx
lea ecx, [ebp - 0xc]
call fcn.0042f491
inc edi
cmp edi, 0x190
jl 0x442f58
mov ecx, dword [ebp + 8]
call fcn.004282a8
mov ecx, dword [ebp + 8]
push closesocket
push 0x49bd2d
call fcn.0042ef3b
lea ecx, [ebp - 0x18]
call fcn.00425c1b
jmp 0x443094
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x18], 0
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.00425c1b
lea ecx, [ebp - 0xc]
call fcn.00425c1b
mov eax, esi
jmp 0x44309f
mov ecx, dword [ebp + 8]
call fcn.004282a8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push closesocket
push eax
call fcn.0042f491
lea ecx, [ebp - 0xc]
call fcn.00425c1b
mov eax, dword [ebp + 8]
pop ebx
pop esi
pop edi
leave
ret