Function at 0x443707
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push edi
lea ecx, [ebp - 0xc]
call fcn.00428af1
push closesocket
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0042fc81
cmp dword [ebp - 8], 0
mov edi, 0x49bb64
jg 0x4438a3
lea eax, [ebp - 0x18]
push eax
call fcn.00458bb4
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425696
lea ecx, [ebp - 0x18]
call fcn.00426428
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x443764
cmp word [esi], 0x2e
jne 0x443764
add esi, 2
push ebx
push esi
call fcn.004321f9
pop ecx
test al, al
jne 0x443916
lea ecx, [ebp - 0xc8]
call fcn.00401a0d
lea ecx, [ebp - 0x18]
call fcn.00428af1
xor ebx, ebx
push esi
call fcn.0042b7fb
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.004284d2
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.00444edd
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425696
lea ecx, [ebp - 0x28]
call fcn.00426428
lea ecx, [ebp - 0x34]
call fcn.00426428
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc8]
push 0x80
mov eax, 0x49bb60
cmovne eax, dword [ebp - 0x18]
push 0x2002
push eax
call fcn.00447c77
test eax, eax
je 0x4438e6
mov edi, dword [ebp + 0x14]
and edi, 1
cmp ebx, 0xc8
jne 0x443832
test edi, edi
jne 0x44385f
lea eax, [ebp - 0x40]
push eax
call fcn.00458bb4
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425696
lea ecx, [ebp - 0x40]
call fcn.00426428
cmp ebx, 0x12c
jne 0x44385f
test edi, edi
jne 0x44385f
push str.c:_temp
call fcn.00441d6e
pop ecx
test al, al
je 0x44385f
push closesocket
push str.c:_temp
lea ecx, [ebp - 0xc]
call fcn.0042fc81
inc ebx
mov edi, 0x49bb64
cmp ebx, 0x190
jl 0x443789
mov ecx, dword [ebp + 8]
call fcn.00428af1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f72b
lea ecx, [ebp - 0x18]
call fcn.00426428
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443aab
cmp dword [ebp - 0xc], 0
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.00441d6e
pop ecx
test al, al
jne 0x443753
mov ecx, dword [ebp + 8]
call fcn.00428af1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f72b
lea ecx, [ebp - 0xc]
call fcn.00426428
mov eax, dword [ebp + 8]
jmp 0x443ab8
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.00426428
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443a83
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 0x4a6b2c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x2d4], 0
jne 0x443a8f
push esi
call fcn.004321f9
pop ecx
test al, al
mov ecx, 0x4a6b34
cmove ecx, esi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.00428af1
xor edi, edi
mov ebx, str.c:_temp
push dword [ebp - 0x1c]
call fcn.0042b7fb
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.004284d2
mov esi, 0x49bb64
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.00444edd
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425696
lea ecx, [ebp - 0x40]
call fcn.00426428
lea ecx, [ebp - 0x34]
call fcn.00426428
cmp dword [ebp - 0x18], 0
mov eax, esi
cmovne eax, dword [ebp - 0x18]
push eax
call fcn.004442ad
pop ecx
test al, al
je 0x443a63
mov esi, dword [ebp + 0x14]
and esi, 1
cmp edi, 0xc8
jne 0x443a0d
test esi, esi
jne 0x443a32
lea eax, [ebp - 0x28]
push eax
call fcn.00458bb4
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425696
lea ecx, [ebp - 0x28]
call fcn.00426428
cmp edi, 0x12c
jne 0x443a32
test esi, esi
jne 0x443a32
push ebx
call fcn.00441d6e
pop ecx
test al, al
je 0x443a32
push closesocket
push ebx
lea ecx, [ebp - 0xc]
call fcn.0042fc81
inc edi
cmp edi, 0x190
jl 0x44396f
mov ecx, dword [ebp + 8]
call fcn.00428af1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f72b
lea ecx, [ebp - 0x18]
call fcn.00426428
jmp 0x443aab
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.00426428
lea ecx, [ebp - 0xc]
call fcn.00426428
mov eax, esi
jmp 0x443ab6
mov ecx, dword [ebp + 8]
call fcn.00428af1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push closesocket
push eax
call fcn.0042fc81
lea ecx, [ebp - 0xc]
call fcn.00426428
mov eax, dword [ebp + 8]
pop ebx
pop esi
pop edi
leave
ret