Function at 0x443a09
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push edi
lea ecx, [ebp - 0xc]
call fcn.00428d6d
push closesocket
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0042fefd
cmp dword [ebp - 8], 0
mov edi, 0x49cb74
jg 0x443ba5
lea eax, [ebp - 0x18]
push eax
call fcn.0045927c
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425912
lea ecx, [ebp - 0x18]
call fcn.004266a4
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x443a66
cmp word [esi], 0x2e
jne 0x443a66
add esi, 2
push ebx
push esi
call fcn.00432400
pop ecx
test al, al
jne 0x443c18
lea ecx, [ebp - 0xc8]
call fcn.00401a0d
lea ecx, [ebp - 0x18]
call fcn.00428d6d
xor ebx, ebx
push esi
call fcn.0042ba77
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.0042874e
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.004451df
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425912
lea ecx, [ebp - 0x28]
call fcn.004266a4
lea ecx, [ebp - 0x34]
call fcn.004266a4
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc8]
push 0x80
mov eax, 0x49cb70
cmovne eax, dword [ebp - 0x18]
push 0x2002
push eax
call fcn.00447f8b
test eax, eax
je 0x443be8
mov edi, dword [ebp + 0x14]
and edi, 1
cmp ebx, 0xc8
jne 0x443b34
test edi, edi
jne 0x443b61
lea eax, [ebp - 0x40]
push eax
call fcn.0045927c
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425912
lea ecx, [ebp - 0x40]
call fcn.004266a4
cmp ebx, 0x12c
jne 0x443b61
test edi, edi
jne 0x443b61
push str.c:_temp
call fcn.00442070
pop ecx
test al, al
je 0x443b61
push closesocket
push str.c:_temp
lea ecx, [ebp - 0xc]
call fcn.0042fefd
inc ebx
mov edi, 0x49cb74
cmp ebx, 0x190
jl 0x443a8b
mov ecx, dword [ebp + 8]
call fcn.00428d6d
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f9a7
lea ecx, [ebp - 0x18]
call fcn.004266a4
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443dad
cmp dword [ebp - 0xc], 0
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.00442070
pop ecx
test al, al
jne 0x443a55
mov ecx, dword [ebp + 8]
call fcn.00428d6d
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f9a7
lea ecx, [ebp - 0xc]
call fcn.004266a4
mov eax, dword [ebp + 8]
jmp 0x443dba
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.004266a4
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443d85
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 0x4a7b5c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x2d4], 0
jne 0x443d91
push esi
call fcn.00432400
pop ecx
test al, al
mov ecx, 0x4a7b64
cmove ecx, esi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.00428d6d
xor edi, edi
mov ebx, str.c:_temp
push dword [ebp - 0x1c]
call fcn.0042ba77
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.0042874e
mov esi, 0x49cb74
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.004451df
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425912
lea ecx, [ebp - 0x40]
call fcn.004266a4
lea ecx, [ebp - 0x34]
call fcn.004266a4
cmp dword [ebp - 0x18], 0
mov eax, esi
cmovne eax, dword [ebp - 0x18]
push eax
call fcn.004445af
pop ecx
test al, al
je 0x443d65
mov esi, dword [ebp + 0x14]
and esi, 1
cmp edi, 0xc8
jne 0x443d0f
test esi, esi
jne 0x443d34
lea eax, [ebp - 0x28]
push eax
call fcn.0045927c
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425912
lea ecx, [ebp - 0x28]
call fcn.004266a4
cmp edi, 0x12c
jne 0x443d34
test esi, esi
jne 0x443d34
push ebx
call fcn.00442070
pop ecx
test al, al
je 0x443d34
push closesocket
push ebx
lea ecx, [ebp - 0xc]
call fcn.0042fefd
inc edi
cmp edi, 0x190
jl 0x443c71
mov ecx, dword [ebp + 8]
call fcn.00428d6d
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f9a7
lea ecx, [ebp - 0x18]
call fcn.004266a4
jmp 0x443dad
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.004266a4
lea ecx, [ebp - 0xc]
call fcn.004266a4
mov eax, esi
jmp 0x443db8
mov ecx, dword [ebp + 8]
call fcn.00428d6d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push closesocket
push eax
call fcn.0042fefd
lea ecx, [ebp - 0xc]
call fcn.004266a4
mov eax, dword [ebp + 8]
pop ebx
pop esi
pop edi
leave
ret