Function at 0x4186d0
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x606c
call fcn.0043ae00
mov eax, dword [0x4fb8a4]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x18], ecx
jne 0x418b34
cmp dword [0x4fc8b0], esi
jne 0x418b34
mov eax, dword [esp + 0x6090]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ebx, [eax + eax*4]
mov eax, dword [0x51a850]
shl ebx, 2
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x418769
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
je 0x418769
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
cmp dword [eax + ecx + 0x3144], esi
je 0x418769
mov dword [esp + 0x28], 1
mov dl, byte [0x473aa0]
mov ecx, 0x802
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], dl
mov ebp, dword [esp + 0x6080]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2069]
mov byte [esp + 0x2068], dl
push 0x46e14c
push ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], esi
call fcn.0043ad80
add esp, 8
cmp eax, esi
je 0x418b34
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2068]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x46e14c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x206c]
push ecx
call fcn.0043ad80
add esp, 8
test eax, eax
je 0x418b34
push str.Pragma:_no_cache_r_n
push ebp
mov byte [eax], 0
call fcn.0043ad80
add esp, 8
test eax, eax
jne 0x418b34
mov dl, byte [0x473aa0]
mov esi, dword [esp + 0x608c]
mov ecx, 0x400
lea edi, [esp + 0x306d]
mov byte [esp + 0x306c], dl
cmp esi, 0x50
mov dword [esp + 0x38], eax
rep stosd dword es:[edi], eax
jne 0x418869
mov edi, dword [esp + 0x6088]
lea eax, [esp + 0x2068]
push eax
push edi
lea ecx, [esp + 0x3074]
push str.http:___s_s
push ecx
call fcn.0043afc4
add esp, 0x10
jmp 0x41888f
mov edi, dword [esp + 0x6088]
lea edx, [esp + 0x2068]
push edx
push esi
push edi
lea eax, [esp + 0x3078]
push str.http:___s:_d_s
push eax
call fcn.0043afc4
add esp, 0x14
lea ecx, [esp + 0x38]
lea edx, [esp + 0x306c]
push ecx
push 0
push edx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x418ccb
mov eax, dword [esp + 0x38]
push eax
call fcn.00451344
add esp, 4
lea ecx, [esp + 0x38]
mov ebp, eax
lea edx, [esp + 0x306c]
push ecx
push ebp
push edx
mov dword [ebp], 0x50
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
test eax, eax
je 0x418cbb
mov eax, dword [0x4f77f8]
test eax, eax
jne 0x41897b
mov ecx, dword [ebp + 0x38]
lea eax, [ebp + 0x38]
test ecx, ecx
je 0x418cbb
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x418cbb
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.0044b3da
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x3c]
call fcn.0044b3da
mov edx, dword [esp + 0x34]
push ecx
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], edx
lea eax, [esp + 0x28]
push eax
call fcn.00419290
mov ecx, dword [eax]
mov eax, 0x88888889
imul ecx
add edx, ecx
mov eax, dword [0x4f77fc]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, eax
jge 0x418cbb
mov edx, dword [ebp + 0x40]
xor edi, edi
push str._r_n_r_n
push edx
mov dword [esp + 0x18], edi
call fcn.0043ad80
add esp, 8
cmp eax, edi
je 0x41899e
sub eax, dword [ebp + 0x40]
add eax, 4
jmp 0x4189a1
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp ecx, edi
je 0x418a69
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
lea edx, [eax + ecx + 0x1032]
mov eax, dword [ebp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.00419cb0
test eax, eax
je 0x418a63
mov edx, dword [0x4f9850]
cmp edx, edi
jne 0x418a2b
push 0x4f9450
lea ecx, [esp + 0x60]
push 0x46f188
push ecx
call fcn.0043afc4
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x6084]
lea edx, [esp + 0x5c]
not ecx
dec ecx
push ecx
push edx
mov dword [esp + 0x1c], ecx
push eax
jmp 0x418a41
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x6088]
push edx
push ecx
mov ecx, esi
call fcn.00411190
push ebp
call fcn.0045136d
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
mov eax, dword [esp + 0x10]
jmp 0x418a6d
mov esi, dword [esp + 0x18]
mov ecx, dword [0x4fac5c]
mov dword [esp + 0x1c], edi
cmp ecx, edi
push eax
je 0x418ad0
mov edx, dword [ebp + 0x40]
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0043c150
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x5c]
mov byte [esp + ecx + 0x5c], 0
push edx
push eax
mov ecx, esi
call fcn.00423770
lea ecx, [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.00422990
mov edx, dword [esp + 0x6084]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
push ecx
push edx
jmp 0x418b0d
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0043c150
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, esi
mov byte [esp + edx + 0x64], 0
call fcn.00423770
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x6084]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00411190
mov edx, dword [ebp + 8]
push 0x46e3a8
push edx
call fcn.0043bceb
mov ebx, eax
add esp, 8
cmp ebx, edi
jne 0x418b43
push ebp
call fcn.0045136d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
test byte [ebx + 0xc], 0x10
jne 0x418bd4
mov edi, dword [esp + 0x2c]
push ebx
push 0x1000
lea eax, [esp + 0x64]
push 1
push eax
call fcn.0043c2cd
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x418c1a
mov eax, dword [esp + 0x28]
mov byte [esp + esi + 0x5c], 0
test eax, eax
je 0x418bb3
mov eax, edi
mov edx, dword [0x4f43b0]
shl eax, 5
add eax, edi
shl eax, 3
sub eax, edi
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [ecx + edx + 0x1032]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00419cb0
test eax, eax
jne 0x418c38
mov eax, dword [esp + 0x6084]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x5c]
push esi
push edx
push eax
call fcn.00411190
test byte [ebx + 0xc], 0x10
je 0x418b51
mov esi, dword [esp + 0x18]
mov eax, dword [0x4fac5c]
test eax, eax
je 0x418bf9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x418bf9
mov edx, dword [esp + 0x6084]
push 0x4f9c58
push edx
mov ecx, esi
call fcn.00411160
push ebx
call fcn.0043bb04
push ebp
call fcn.0045136d
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
push ebx
call fcn.0043bb04
push ebp
call fcn.0045136d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
mov edx, dword [0x4f9850]
test edx, edx
jne 0x418c7b
push 0x4f9450
lea ecx, [esp + 0x60]
push 0x46f188
push ecx
call fcn.0043afc4
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x6084]
lea edx, [esp + 0x5c]
not ecx
dec ecx
push ecx
push edx
mov dword [esp + 0x1c], ecx
push eax
jmp 0x418c91
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x6088]
push edx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411190
push ebx
call fcn.0043bb04
push ebp
call fcn.0045136d
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
push ebp
call fcn.0045136d
mov ebp, dword [esp + 0x6084]
add esp, 4
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push esi
push edi
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x28f400
push 0
push 0
lea ecx, [esp + 0x2078]
push 0
push ecx
push 0x46fd90
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [0x51a850]
mov dword [esp + 0x10], eax
mov edx, dword [ebx + edx + 0x20]
cmp edx, 0xffffffff
je 0x418d44
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, 0x4f4398
call fcn.00423400
push 0x46e38c
push ebp
lea ecx, [esp + 0x4078]
call fcn.0042c2f0
lea ecx, [esp + 0x4070]
call fcn.0042c350
lea ecx, [esp + 0x4070]
call fcn.0042c3b0
test eax, eax
je 0x418dad
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [esp + 0x4070]
call fcn.0042c350
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
push 0
not ecx
dec ecx
push ecx
push edx
push eax
call esi
lea ecx, [esp + 0x4070]
call fcn.0042c3b0
test eax, eax
jne 0x418d78
mov esi, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x418dec
mov ecx, esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x60]
push ecx
push edx
push 0x16
push esi
mov dword [esp + 0x28], 0x1000
mov dword [esp + 0x48], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x41925d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
push str.Transfer_Encoding:_chunked_r_n
push ecx
mov byte [esp + eax + 0x64], 0
call fcn.0043ad80
add esp, 8
test eax, eax
je 0x418e6d
push 0x473aa0
lea edx, [esp + 0x60]
push str.Transfer_Encoding:_chunked_r_n
push edx
call fcn.0042e770
mov edi, str.Transfer_Encoding:_chunked_r_n
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
sub eax, ecx
mov dword [esp + 0x14], eax
mov byte [esp + eax + 0x5c], 0
lea eax, [esp + 0x5c]
push str.Transfer_Encoding:_Chunked_r_n
push eax
call fcn.0043ad80
add esp, 8
test eax, eax
je 0x418eb8
push 0x473aa0
lea ecx, [esp + 0x60]
push str.Transfer_Encoding:_Chunked_r_n
push ecx
call fcn.0042e770
mov edi, str.Transfer_Encoding:_chunked_r_n
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
sub eax, ecx
mov dword [esp + 0x14], eax
mov byte [esp + eax + 0x5c], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x418f8c
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
lea edx, [eax + eax*2]
mov eax, dword [0x4f43b0]
shl edx, 4
lea ecx, [edx + eax + 0x1032]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.00419cb0
test eax, eax
je 0x418f90
mov edx, dword [0x4f9850]
test edx, edx
jne 0x418f42
push 0x4f9450
lea eax, [esp + 0x60]
push 0x46f188
push eax
call fcn.0043afc4
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x6084]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
push ecx
lea ecx, [esp + 0x60]
push ecx
push edx
jmp 0x418f58
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x6084]
not ecx
dec ecx
push ecx
push edx
push eax
mov ecx, esi
call fcn.00411190
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.00423770
mov eax, dword [0x4fac5c]
test eax, eax
je 0x418fbf
lea eax, [esp + 0x14]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call fcn.00422990
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x6084]
lea eax, [esp + 0x5c]
push edx
push eax
push ebp
mov ecx, esi
call fcn.00411190
mov ecx, dword [0x51a850]
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x418ff9
mov edx, dword [esp + 0x14]
push 0
push edx
push eax
mov ecx, 0x4f4398
call fcn.00423400
xor edi, edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x51a850]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x419031
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov edi, dword [eax + edx*4 + 0x80]
lea eax, [eax + edx*4]
add edi, dword [eax + 0x7c]
cmp dword [ebx + ecx + 0x18], 2
jne 0x419200
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push 0x1000
push edx
push eax
mov dword [esp + 0x30], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x419200
mov eax, dword [esp + 0x20]
test eax, eax
je 0x419200
mov byte [esp + eax + 0x5c], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4190bb
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x4f43b0]
mov eax, ecx
mov esi, dword [esp + 0x18]
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [ecx + edx + 0x1032]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call fcn.00419cb0
test eax, eax
jne 0x4191bb
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x419188
mov ecx, dword [esp + 0x20]
push 0
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [edx + ecx*4 + 0x70]
cmp eax, 0xffffffff
jle 0x419188
test eax, eax
je 0x41925d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov eax, dword [0x51a850]
mov edx, dword [0x4f4398]
mov eax, dword [ebx + eax + 0x20]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov esi, dword [edx + ecx*4 + 0x80]
lea ecx, [edx + ecx*4]
add esi, dword [ecx + 0x7c]
cmp esi, edi
jae 0x41913d
xor edi, edi
mov eax, esi
mov edx, edi
shl eax, 5
shl edx, 5
sub eax, esi
sub edx, edi
lea eax, [esi + eax*4]
lea edx, [edi + edx*4]
shl eax, 3
shl edx, 3
sub eax, edx
xor edx, edx
div dword [ecx + 0x70]
mov edx, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, edx
cmp ecx, eax
jae 0x419181
sub eax, ebp
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov edi, esi
mov ebp, dword [esp + 0x6084]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
push ebp
call fcn.00411190
test eax, eax
je 0x419200
mov ecx, dword [0x51a850]
mov dword [esp + 0x20], 0
cmp dword [ebx + ecx + 0x18], 2
je 0x41903c
jmp 0x419200
mov edx, dword [0x4f9850]
test edx, edx
jne 0x41924d
push 0x4f9450
lea edx, [esp + 0x60]
push 0x46f188
push edx
call fcn.0043afc4
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
push ecx
mov dword [esp + 0x18], ecx
push eax
push ebp
mov ecx, esi
call fcn.00411190
mov eax, dword [0x4fac5c]
test eax, eax
je 0x419220
mov eax, dword [esp + 0x34]
test eax, eax
je 0x419220
mov ecx, dword [esp + 0x18]
push 0x4f9c58
push ebp
call fcn.00411160
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x606c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
jmp 0x4191f8
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x606c
ret 0x14