Function at 0x180e3bb0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x181d600c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x50
mov dword [esp + 0x14], edi
call fcn.181230a8
pop ecx
push 0x50
mov esi, eax
push 0
push esi
call fcn.181374a0
add esp, 0xc
lea eax, [edi + 4]
mov ecx, esi
mov dword [esp + 0x14], eax
push eax
call fcn.180dfd31
and dword [esp + 0x20], 0
mov esi, eax
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x44]
test eax, eax
jne 0x180e3ea7
push dword [esp + 0x14]
add edi, 0x2c
mov ecx, ebx
push edi
push edi
push dword [ebx + 4]
call fcn.1807f7fc
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push 0x400
push edi
push dword [eax + 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180e3c65
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add ecx, 0x2c
add eax, ecx
mov ecx, ebx
push eax
push edi
push dword [ebx + 4]
call fcn.1807f7fc
cmp dword [esp + 0x20], 0x400
je 0x180e3c1b
jmp 0x180e3c7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180e3f9f
test eax, eax
jne 0x180e3ea3
xor eax, eax
mov dword [esi + 0x1c], eax
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x20], 4
push eax
mov eax, dword [esp + 0x1c]
push 0x20000013
push dword [eax + 0x24]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x20], eax
lea eax, [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x18]
push edi
push 0x16
mov dword [esp + 0x28], 0x3ff
push dword [eax + 0x24]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x180e3d19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x180e3ce9
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x180e3d1d
mov eax, dword [esp + 0x18]
mov ecx, ebx
inc eax
push eax
call fcn.1800f7a2
mov edi, dword [ebx]
lea eax, [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x18]
push edi
push 0x16
push dword [eax + 0x24]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
neg eax
sbb eax, eax
and eax, dword [esp + 0x18]
jmp 0x180e3ce3
mov eax, dword [esp + 0x18]
mov byte [edi + eax], 0
jmp 0x180e3e47
push 0x3a
push edi
call fcn.18139390
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x180e3e91
and dword [esp + 0x44], 0
and dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xf
cmp edi, ebx
je 0x180e3d5d
sub eax, edi
lea ecx, [esp + 0x44]
push eax
push edi
call fcn.1801e33d
lea edi, [ebx + 1]
jmp 0x180e3d63
inc edi
cmp byte [edi], 0x20
je 0x180e3d62
push 0x181a53b8
push edi
call fcn.1815f5d0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x180e3e52
and dword [esp + 0x2c], 0
and dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
cmp edi, ebx
je 0x180e3da2
sub eax, edi
lea ecx, [esp + 0x2c]
push eax
push edi
call fcn.1801e33d
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0x24]
call fcn.180e3692
mov eax, dword [esp + 0x40]
lea edi, [ebx + 2]
cmp eax, 0x10
jb 0x180e3df6
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
cmp eax, 0x1000
jb 0x180e3ded
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.18007b92
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.18122d26
pop ecx
pop ecx
and dword [esp + 0x3c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
cmp eax, 0x10
jb 0x180e3e47
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
cmp eax, 0x1000
jb 0x180e3e3e
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.18007b92
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.18122d26
pop ecx
pop ecx
cmp byte [edi], 0
jne 0x180e3d26
jmp 0x180e3e91
mov eax, dword [esp + 0x58]
cmp eax, 0x10
jb 0x180e3e91
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
cmp eax, 0x1000
jb 0x180e3e88
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.18007b92
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.18122d26
pop ecx
pop ecx
mov edi, dword [esp + 0x10]
mov ecx, edi
push 7
call fcn.180e3b85
jmp 0x180e3f5e
mov edi, dword [esp + 0x10]
mov ecx, 0x2f0a
push 3
pop edx
cmp eax, ecx
ja 0x180e3f0d
je 0x180e3f5b
add ecx, 0xfffffff4
cmp eax, ecx
ja 0x180e3ef7
je 0x180e3f5b
sub eax, 0x2ee2
je 0x180e3f5b
sub eax, 1
je 0x180e3f5b
sub eax, 4
je 0x180e3f5b
sub eax, 0xa
je 0x180e3eee
sub eax, 0xb
je 0x180e3f5b
sub eax, 1
jmp 0x180e3f50
mov dword [esi + 0x1c], 1
jmp 0x180e3f5e
sub eax, 0x2eff
je 0x180e3f5b
sub eax, 6
je 0x180e3f5b
sub eax, 1
je 0x180e3f5b
sub eax, 1
jmp 0x180e3ee7
mov ecx, 0x2f78
cmp eax, ecx
ja 0x180e3f37
je 0x180e3f5b
sub eax, 0x2f0b
je 0x180e3f5b
sub eax, 1
je 0x180e3f5b
sub eax, 1
je 0x180e3f5b
sub eax, 7
je 0x180e3f5b
sub eax, edx
je 0x180e3f5b
sub eax, 0x60
jmp 0x180e3f50
sub eax, 0x2f7c
je 0x180e3f5b
sub eax, 4
je 0x180e3f5b
sub eax, 9
je 0x180e3f5b
sub eax, 1
je 0x180e3f5b
sub eax, 5
je 0x180e3f5b
mov dword [esi + 0x1c], 2
jmp 0x180e3f5e
mov dword [esi + 0x1c], edx
cmp byte [edi + 0x42c], 0
jne 0x180e3f9f
push 0
push dword [edi + 0x24]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov byte [edi + 0x42c], 1
mov edi, dword [edi + 0x1c]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x181663e8]
mov ecx, edi
call esi
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.180e401d
jmp 0x180e3fb5
test esi, esi
je 0x180e3fb5
mov eax, dword [esi]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x181663e8]
mov ecx, esi
call edi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181227f8
mov esp, ebp
pop ebp
ret 4