Function at 0x18004d5e0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1801d5600]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rsi, rdx
mov qword [rbp], rdx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x50], r13d
call fcn.180051630
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.180005220
nop
mov r9d, reloc.WS2_32.dll_select
lea r8, str.AutoDownloadedFile
xor edx, edx
mov rcx, rax
call fcn.180004b20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], r13b
or edi, 1
mov r8d, 4
lea rdx, str..png
lea rcx, [rbp - 0x80]
call fcn.18000a310
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
or edi, 2
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
call fcn.180140f34
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.180010670
or edi, 0xc
lea rdx, [0x1801d6da0]
lea rcx, [rbp - 0x40]
call fcn.180011150
or edi, 0x10
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 8]
call fcn.180010f40
nop
lea rcx, [rbp - 0x40]
call fcn.1800043e0
nop
lea rcx, [rbp - 0x60]
call fcn.1800043e0
nop
lea rcx, [rsp + 0x60]
call fcn.180004450
nop
lea rcx, [rbp - 0x80]
call fcn.180004450
nop
lea rcx, [rbp - 0x20]
call fcn.180004450
lea r15, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r15, qword [rbp + 8]
mov r14, qword [rbp + 0x18]
call fcn.180140f34
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1801b0d20]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], r13b
bts edi, 8
mov dword [rsp + 0x50], edi
test r14, r14
je 0x18004d815
cmp r14, 0x7fffffff
ja 0x18004da22
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.180140fa4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18004da28
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.18000a280
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.180140fa4
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x18004da34
btr edi, 8
or edi, 0xe0
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r8, qword [rsp + 0x30]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x18004d83d
mov rdx, qword [rsi]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180004450
test ebx, ebx
jne 0x18004d965
lea r15, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r15, qword [rbp + 8]
mov r14, qword [rbp + 0x18]
call fcn.180140f34
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1801b0d20]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], bl
bts edi, 0xc
mov dword [rsp + 0x50], edi
test r14, r14
je 0x18004d915
cmp r14, 0x7fffffff
ja 0x18004da3e
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.180140fa4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18004da44
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.18000a280
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.180140fa4
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x18004da50
lea rdx, [rsp + 0x30]
call fcn.18004d130
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.180004450
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
call fcn.180141720
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x18004da0b
lea rcx, [rbp + 8]
call fcn.1800043e0
nop
mov rcx, rsi
call fcn.180004450
mov rax, rbx
jmp 0x18004d9de
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_46
lea rdx, str._Textures__Error_while_downloading_texture
lea rcx, [rsp + 0x30]
call fcn.180004860
nop
movdqa xmm0, xmmword [0x1801b1190]
movdqa xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [0x18020ffa0]
call fcn.180064440
nop
lea rcx, [rsp + 0x30]
call fcn.180004450
nop
lea rcx, [rbp + 8]
call fcn.1800043e0
nop
mov rcx, rsi
call fcn.180004450
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18013fa70
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rax, 0x20
lea r8, [rbp + 8]
mov edx, eax
lea rcx, [0x18017bff8]
call fcn.1800117a0
nop
call fcn.180010380
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.180010630
int3
shr rcx, 0x20
call fcn.180010630
nop
call fcn.180010380
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.180010630
int3
shr rcx, 0x20
call fcn.180010630
int3