Function at 0x443809
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push edi
lea ecx, [ebp - 0xc]
call fcn.00428bf1
push closesocket
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0042fd81
cmp dword [ebp - 8], 0
mov edi, 0x49bb64
jg 0x4439a5
lea eax, [ebp - 0x18]
push eax
call fcn.00459039
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425796
lea ecx, [ebp - 0x18]
call fcn.00426528
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x443866
cmp word [esi], 0x2e
jne 0x443866
add esi, 2
push ebx
push esi
call fcn.004322f9
pop ecx
test al, al
jne 0x443a18
lea ecx, [ebp - 0xc8]
call fcn.00401a0d
lea ecx, [ebp - 0x18]
call fcn.00428bf1
xor ebx, ebx
push esi
call fcn.0042b8fb
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.004285d2
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.00444fdf
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425796
lea ecx, [ebp - 0x28]
call fcn.00426528
lea ecx, [ebp - 0x34]
call fcn.00426528
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.00447d79
test eax, eax
je 0x4439e8
mov edi, dword [ebp + 0x14]
and edi, 1
cmp ebx, 0xc8
jne 0x443934
test edi, edi
jne 0x443961
lea eax, [ebp - 0x40]
push eax
call fcn.00459039
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425796
lea ecx, [ebp - 0x40]
call fcn.00426528
cmp ebx, 0x12c
jne 0x443961
test edi, edi
jne 0x443961
push str.c:_temp
call fcn.00441e70
pop ecx
test al, al
je 0x443961
push closesocket
push str.c:_temp
lea ecx, [ebp - 0xc]
call fcn.0042fd81
inc ebx
mov edi, 0x49bb64
cmp ebx, 0x190
jl 0x44388b
mov ecx, dword [ebp + 8]
call fcn.00428bf1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f82b
lea ecx, [ebp - 0x18]
call fcn.00426528
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443bad
cmp dword [ebp - 0xc], 0
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.00441e70
pop ecx
test al, al
jne 0x443855
mov ecx, dword [ebp + 8]
call fcn.00428bf1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f82b
lea ecx, [ebp - 0xc]
call fcn.00426528
mov eax, dword [ebp + 8]
jmp 0x443bba
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.00426528
lea ecx, [ebp - 0xc8]
call fcn.00401af4
jmp 0x443b85
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 0x443b91
push esi
call fcn.004322f9
pop ecx
test al, al
mov ecx, 0x4a6b34
cmove ecx, esi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.00428bf1
xor edi, edi
mov ebx, str.c:_temp
push dword [ebp - 0x1c]
call fcn.0042b8fb
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push str.SGT_4X._s
push eax
call fcn.004285d2
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.00444fdf
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425796
lea ecx, [ebp - 0x40]
call fcn.00426528
lea ecx, [ebp - 0x34]
call fcn.00426528
cmp dword [ebp - 0x18], 0
mov eax, esi
cmovne eax, dword [ebp - 0x18]
push eax
call fcn.004443af
pop ecx
test al, al
je 0x443b65
mov esi, dword [ebp + 0x14]
and esi, 1
cmp edi, 0xc8
jne 0x443b0f
test esi, esi
jne 0x443b34
lea eax, [ebp - 0x28]
push eax
call fcn.00459039
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425796
lea ecx, [ebp - 0x28]
call fcn.00426528
cmp edi, 0x12c
jne 0x443b34
test esi, esi
jne 0x443b34
push ebx
call fcn.00441e70
pop ecx
test al, al
je 0x443b34
push closesocket
push ebx
lea ecx, [ebp - 0xc]
call fcn.0042fd81
inc edi
cmp edi, 0x190
jl 0x443a71
mov ecx, dword [ebp + 8]
call fcn.00428bf1
mov ecx, dword [ebp + 8]
push closesocket
push 0x49cd2d
call fcn.0042f82b
lea ecx, [ebp - 0x18]
call fcn.00426528
jmp 0x443bad
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.00426528
lea ecx, [ebp - 0xc]
call fcn.00426528
mov eax, esi
jmp 0x443bb8
mov ecx, dword [ebp + 8]
call fcn.00428bf1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push closesocket
push eax
call fcn.0042fd81
lea ecx, [ebp - 0xc]
call fcn.00426528
mov eax, dword [ebp + 8]
pop ebx
pop esi
pop edi
leave
ret