Function at 0x443b4b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
push edi
lea ecx, [ebp - 0xc]
call fcn.00428cde
push closesocket
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0042fedc
cmp dword [ebp - 8], 0
mov edi, 0x49cb74
jg 0x443ce7
lea eax, [ebp - 0x28]
push eax
call fcn.00459505
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425883
lea ecx, [ebp - 0x28]
call fcn.00426615
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x443ba8
cmp word [esi], 0x2e
jne 0x443ba8
add esi, 2
push ebx
push esi
call fcn.00432524
pop ecx
test al, al
jne 0x443d5a
lea ecx, [ebp - 0xd8]
call fcn.00401a0d
lea ecx, [ebp - 0x28]
call fcn.00428cde
xor ebx, ebx
push esi
call fcn.0042b9e8
movzx eax, ax
push eax
lea eax, [ebp - 0x44]
push str.SGT_4X._s
push eax
call fcn.004286bf
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 - 0x38]
push eax
call fcn.004453af
add esp, 0x1c
lea ecx, [ebp - 0x28]
push eax
call fcn.00425883
lea ecx, [ebp - 0x38]
call fcn.00426615
lea ecx, [ebp - 0x44]
call fcn.00426615
cmp dword [ebp - 0x28], 0
lea ecx, [ebp - 0xd8]
push 0x80
mov eax, 0x49cb70
cmovne eax, dword [ebp - 0x28]
push 0x2002
push eax
call fcn.0044815c
test eax, eax
je 0x443d2a
mov edi, dword [ebp + 0x14]
and edi, 1
cmp ebx, 0xc8
jne 0x443c76
test edi, edi
jne 0x443ca3
lea eax, [ebp - 0x50]
push eax
call fcn.00459505
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425883
lea ecx, [ebp - 0x50]
call fcn.00426615
cmp ebx, 0x12c
jne 0x443ca3
test edi, edi
jne 0x443ca3
push str.c:_temp
call fcn.004421b2
pop ecx
test al, al
je 0x443ca3
push closesocket
push str.c:_temp
lea ecx, [ebp - 0xc]
call fcn.0042fedc
inc ebx
mov edi, 0x49cb74
cmp ebx, 0x190
jl 0x443bcd
mov ecx, dword [ebp + 8]
call fcn.00428cde
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f986
lea ecx, [ebp - 0x28]
call fcn.00426615
lea ecx, [ebp - 0xd8]
call fcn.00401af4
jmp 0x443f7d
cmp dword [ebp - 0xc], 0
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.004421b2
pop ecx
test al, al
jne 0x443b97
mov ecx, dword [ebp + 8]
call fcn.00428cde
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f986
lea ecx, [ebp - 0xc]
call fcn.00426615
mov eax, dword [ebp + 8]
jmp 0x443f8a
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x28], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x28]
mov dword [esi + 4], eax
call fcn.00426615
lea ecx, [ebp - 0xd8]
call fcn.00401af4
jmp 0x443f4f
xor eax, eax
lea ecx, [ebp - 0x2e4]
cmp dword [ebp - 0xc], 0
push ecx
mov word [ebp - 0x2e4], ax
mov eax, edi
cmovne eax, dword [ebp - 0xc]
push 0
push 0x4a7b4c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x2e4], 0
je 0x443dad
mov ecx, dword [ebp + 8]
call fcn.00428cde
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2e4]
push closesocket
push eax
call fcn.0042fedc
jmp 0x443f7d
push esi
call fcn.00432524
pop ecx
test al, al
mov ecx, 0x4a7b54
cmove ecx, esi
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x18]
call fcn.00428cde
xor esi, esi
mov ebx, str.c:_temp
mov dword [ebp - 0x1c], esi
xor edi, edi
push dword [ebp - 0x2c]
call fcn.0042b9e8
movzx eax, ax
push eax
lea eax, [ebp - 0x44]
push str.SGT_04X._s
push eax
call fcn.004286bf
mov edx, 0x49cb74
mov ecx, edx
cmp dword [eax], 0
cmovne ecx, dword [eax]
mov eax, edx
cmp dword [ebp - 0xc], 0
push ecx
cmovne eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004453af
add esp, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.00425883
lea ecx, [ebp - 0x50]
call fcn.00426615
lea ecx, [ebp - 0x44]
call fcn.00426615
cmp dword [ebp - 0x18], 0
mov eax, 0x49cb74
cmovne eax, dword [ebp - 0x18]
push eax
call fcn.0044477f
pop ecx
test al, al
jne 0x443e9a
lea ecx, [ebp - 0xd8]
call fcn.00401a0d
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0xd8]
push 0x80
mov eax, 0x49cb70
cmovne eax, dword [ebp - 0x18]
push 0x2002
push eax
call fcn.0044815c
test eax, eax
je 0x443f24
cmp eax, 0xc
je 0x443e86
and dword [ebp - 0x1c], 0
jmp 0x443e8f
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x14
jg 0x443efd
lea ecx, [ebp - 0xd8]
call fcn.00401af4
mov esi, dword [ebp + 0x14]
and esi, 1
cmp edi, 0xc8
jne 0x443ec7
test esi, esi
jne 0x443eec
lea eax, [ebp - 0x38]
push eax
call fcn.00459505
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425883
lea ecx, [ebp - 0x38]
call fcn.00426615
cmp edi, 0x12c
jne 0x443eec
test esi, esi
jne 0x443eec
push ebx
call fcn.004421b2
pop ecx
test al, al
je 0x443eec
push closesocket
push ebx
lea ecx, [ebp - 0xc]
call fcn.0042fedc
inc edi
cmp edi, 0x190
jge 0x443f5b
mov esi, dword [ebp - 0x1c]
jmp 0x443dd5
mov ecx, dword [ebp + 8]
call fcn.00428cde
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f986
lea ecx, [ebp - 0xd8]
call fcn.00401af4
jmp 0x443f75
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 - 0xd8]
mov dword [esi + 4], eax
call fcn.00401af4
lea ecx, [ebp - 0x18]
call fcn.00426615
lea ecx, [ebp - 0xc]
call fcn.00426615
mov eax, esi
jmp 0x443f88
mov ecx, dword [ebp + 8]
call fcn.00428cde
mov ecx, dword [ebp + 8]
push closesocket
push 0x49dd3d
call fcn.0042f986
lea ecx, [ebp - 0x18]
call fcn.00426615
lea ecx, [ebp - 0xc]
call fcn.00426615
mov eax, dword [ebp + 8]
pop ebx
pop esi
pop edi
leave
ret