Function at 0x43ecac
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dd12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x51d8
call fcn.00465440
push edi
mov dword [ebp - 0x5150], ecx
mov dword [ebp - 0x5078], 0
mov al, byte [0x4b0120]
mov byte [ebp - 0x3030], al
mov ecx, 0x802
xor eax, eax
lea edi, [ebp - 0x302f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cl, byte [0x4b0124]
mov byte [ebp - 0x4040], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x403f]
rep stosd dword es:[edi], eax
push 0x4a88b8
push 0
lea edx, [ebp - 0x50c8]
push edx
mov ecx, dword [ebp + 8]
call fcn.004409b0
mov dword [ebp - 0x5154], eax
mov eax, dword [ebp - 0x5154]
mov dword [ebp - 0x5158], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5158]
call fcn.0042e500
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x3034], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50c8]
call fcn.00480fc4
cmp dword [ebp - 0x3034], 0
jne 0x43ed81
xor eax, eax
jmp 0x43ff15
mov ecx, dword [ebp - 0x3034]
add ecx, 1
push ecx
lea edx, [ebp - 0x4040]
push edx
call fcn.00465350
add esp, 8
push 0x4a88bc
lea eax, [ebp - 0x4040]
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x3034], eax
cmp dword [ebp - 0x3034], 0
jne 0x43edc4
xor eax, eax
jmp 0x43ff15
mov ecx, dword [ebp - 0x3034]
mov byte [ecx], 0
mov dword [ebp - 0x1020], 1
lea ecx, [ebp - 0x303c]
call fcn.00403ac0
mov dword [ebp - 4], 1
mov dword [ebp - 0x404c], 0
jmp 0x43ee04
mov edx, dword [ebp - 0x404c]
add edx, 1
mov dword [ebp - 0x404c], edx
mov ecx, dword [ebp + 8]
call fcn.00440930
cmp dword [ebp - 0x404c], eax
jge 0x43eeb6
lea eax, [ebp - 0x303c]
push eax
push 0x4a88c0
mov ecx, dword [ebp - 0x404c]
push ecx
lea edx, [ebp - 0x50d0]
push edx
mov ecx, dword [ebp + 8]
call fcn.004409b0
mov dword [ebp - 0x515c], eax
mov eax, dword [ebp - 0x515c]
mov dword [ebp - 0x5160], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5160]
call fcn.0042e500
push eax
mov ecx, dword [ebp - 0x5150]
call fcn.004403a4
mov dword [ebp - 0x50cc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50d0]
call fcn.00480fc4
cmp dword [ebp - 0x50cc], 0
je 0x43eeb1
lea ecx, [ebp - 0x303c]
call fcn.004814c6
push 0x4a88c8
lea ecx, [ebp - 0x303c]
call fcn.0047aba7
cmp eax, 0xffffffff
je 0x43eeb1
mov dword [ebp - 0x1020], 0
jmp 0x43eeb6
jmp 0x43edf5
cmp dword [0x4b04e0], 0
je 0x43eec9
mov dword [ebp - 0x1020], 1
mov dword [ebp - 0x4048], 0
mov dword [ebp - 0x1024], 0
mov cl, byte [0x4b0128]
mov byte [ebp - 0x5060], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x505f]
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x14], 0x50
jne 0x43ef1f
lea edx, [ebp - 0x4040]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.http:___s_s
lea ecx, [ebp - 0x5060]
push ecx
call fcn.004650e4
add esp, 0x10
jmp 0x43ef42
lea edx, [ebp - 0x4040]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.http:___s:_d_s
lea edx, [ebp - 0x5060]
push edx
call fcn.004650e4
add esp, 0x14
push 0x4a88f0
lea eax, [ebp - 0x5060]
push eax
push str.GETCache
lea ecx, [ebp - 0x50d4]
call fcn.00481032
mov dword [ebp - 0x5164], eax
mov ecx, dword [ebp - 0x5164]
mov dword [ebp - 0x5168], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x5168]
push edx
lea eax, [ebp - 0x50d8]
push eax
call fcn.00481259
mov dword [ebp - 0x516c], eax
mov ecx, dword [ebp - 0x516c]
mov dword [ebp - 0x5170], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5170]
push edx
lea eax, [ebp - 0x3038]
push eax
call fcn.00481259
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50d8]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50d4]
call fcn.00480fc4
lea ecx, [ebp - 0x4048]
push ecx
push 0
lea edx, [ebp - 0x5060]
push edx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
cmp dword [ebp - 0x1020], 0
je 0x43f771
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43f771
mov eax, dword [ebp - 0x4048]
push eax
call fcn.00481528
add esp, 4
mov dword [ebp - 0x50dc], eax
mov ecx, dword [ebp - 0x50dc]
mov dword [ebp - 0x1024], ecx
mov edx, dword [ebp - 0x1024]
mov dword [edx], 0x50
lea eax, [ebp - 0x4048]
push eax
mov ecx, dword [ebp - 0x1024]
push ecx
lea edx, [ebp - 0x5060]
push edx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
test eax, eax
je 0x43f756
mov eax, dword [ebp - 0x1024]
cmp dword [eax + 0x38], 0
je 0x43f756
lea ecx, [ebp - 0x405c]
push ecx
mov edx, dword [ebp - 0x1024]
add edx, 0x38
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x5070]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5070]
push ecx
lea ecx, [ebp - 0x5080]
call fcn.0047b4a4
push 0xffffffffffffffff
lea edx, [ebp - 0x405c]
push edx
lea ecx, [ebp - 0x5088]
call fcn.0047b4a4
lea ecx, [ebp - 0x5084]
call fcn.00415640
push ecx
mov ecx, esp
mov dword [ebp - 0x50e0], esp
lea eax, [ebp - 0x5088]
push eax
call fcn.0042b730
lea ecx, [ebp - 0x50e4]
push ecx
lea ecx, [ebp - 0x5080]
call fcn.00440a50
push eax
lea ecx, [ebp - 0x5084]
call fcn.0042b730
lea ecx, [ebp - 0x5084]
call fcn.00440a30
cmp eax, dword [0x4b04e4]
jge 0x43f109
mov dword [ebp - 0x1020], 1
jmp 0x43f113
mov dword [ebp - 0x1020], 0
mov edx, dword [ebp - 0x1024]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x507c], eax
mov ecx, dword [ebp - 0x507c]
movsx edx, byte [ecx]
test edx, edx
je 0x43f2b2
push 0x4a8900
mov eax, dword [ebp - 0x507c]
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x508c], eax
cmp dword [ebp - 0x508c], 0
jne 0x43f15b
jmp 0x43f2b2
mov ecx, dword [ebp - 0x507c]
push ecx
lea ecx, [ebp - 0x5094]
call fcn.00481032
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x508c]
sub edx, dword [ebp - 0x507c]
add edx, 2
push edx
push 0
lea eax, [ebp - 0x50e8]
push eax
lea ecx, [ebp - 0x5094]
call fcn.0047aa77
mov dword [ebp - 0x5174], eax
mov ecx, dword [ebp - 0x5174]
mov dword [ebp - 0x5178], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x5178]
push edx
lea ecx, [ebp - 0x5094]
call fcn.004810fd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50e8]
call fcn.00480fc4
mov eax, dword [ebp - 0x508c]
add eax, 2
mov dword [ebp - 0x507c], eax
lea ecx, [ebp - 0x5090]
call fcn.00403ac0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5090]
push ecx
push str.Pragma
lea ecx, [ebp - 0x5094]
call fcn.0042e500
push eax
mov ecx, dword [ebp - 0x5150]
call fcn.004403a4
test eax, eax
je 0x43f25b
lea ecx, [ebp - 0x5090]
call fcn.004814c6
push str.no_cache
lea ecx, [ebp - 0x5090]
call fcn.0047aba7
cmp eax, 0xffffffff
je 0x43f25b
mov dword [ebp - 0x1020], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5090]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5094]
call fcn.00480fc4
jmp 0x43f2b2
push 0x4a8918
lea ecx, [ebp - 0x5094]
call fcn.0040d8d0
test eax, eax
jne 0x43f28f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5090]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5094]
call fcn.00480fc4
jmp 0x43f2b2
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5090]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5094]
call fcn.00480fc4
jmp 0x43f122
cmp dword [0x4b04e0], 0
je 0x43f2c5
mov dword [ebp - 0x1020], 1
cmp dword [ebp - 0x1020], 0
je 0x43f756
mov edx, dword [ebp - 0x1024]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x507c], eax
mov ecx, dword [ebp - 0x507c]
movsx edx, byte [ecx]
test edx, edx
je 0x43f479
push 0x4a891c
mov eax, dword [ebp - 0x507c]
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x50a0], eax
cmp dword [ebp - 0x50a0], 0
jne 0x43f31a
jmp 0x43f479
mov ecx, dword [ebp - 0x507c]
push ecx
lea ecx, [ebp - 0x50a4]
call fcn.00481032
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x50a0]
sub edx, dword [ebp - 0x507c]
add edx, 2
push edx
push 0
lea eax, [ebp - 0x50ec]
push eax
lea ecx, [ebp - 0x50a4]
call fcn.0047aa77
mov dword [ebp - 0x517c], eax
mov ecx, dword [ebp - 0x517c]
mov dword [ebp - 0x5180], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5180]
push edx
lea ecx, [ebp - 0x50a4]
call fcn.004810fd
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50ec]
call fcn.00480fc4
mov eax, dword [ebp - 0x50a0]
add eax, 2
mov dword [ebp - 0x507c], eax
lea ecx, [ebp - 0x509c]
call fcn.00403ac0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x509c]
push ecx
push 0x4a8920
lea ecx, [ebp - 0x50a4]
call fcn.0042e500
push eax
mov ecx, dword [ebp - 0x5150]
call fcn.004403a4
test eax, eax
je 0x43f407
push 0x4a8934
lea ecx, [ebp - 0x509c]
call fcn.00403f40
test eax, eax
jne 0x43f407
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x509c]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50a4]
call fcn.00480fc4
jmp 0x43f2e1
lea ecx, [ebp - 0x50a4]
call fcn.0042e500
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x5150]
call fcn.00435fa8
push 0x4a893c
lea ecx, [ebp - 0x50a4]
call fcn.0040d8d0
test eax, eax
jne 0x43f456
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x509c]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50a4]
call fcn.00480fc4
jmp 0x43f479
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x509c]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50a4]
call fcn.00480fc4
jmp 0x43f2e1
mov dword [ebp - 0x5098], 0
push 0x4a8940
mov eax, dword [ebp - 0x1024]
mov ecx, dword [eax + 8]
push ecx
call fcn.004669ba
add esp, 8
mov dword [ebp - 0x5098], eax
cmp dword [ebp - 0x5098], 0
jne 0x43f4fa
mov edx, dword [ebp - 0x1024]
mov dword [ebp - 0x50f0], edx
mov eax, dword [ebp - 0x50f0]
push eax
call fcn.00481551
add esp, 4
mov dword [ebp - 0x50f4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x50f4]
jmp 0x43ff15
mov ecx, dword [ebp - 0x5098]
mov edx, dword [ecx + 0xc]
and edx, 0x10
test edx, edx
jne 0x43f6f6
mov eax, dword [ebp - 0x5098]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x3030]
push ecx
call fcn.004675b1
add esp, 0x10
mov dword [ebp - 0x50a8], eax
cmp dword [ebp - 0x50a8], 0
jg 0x43f59a
mov edx, dword [ebp - 0x5098]
push edx
call fcn.004667d3
add esp, 4
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x50f8], eax
mov ecx, dword [ebp - 0x50f8]
push ecx
call fcn.00481551
add esp, 4
mov dword [ebp - 0x50fc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x50fc]
jmp 0x43ff15
mov edx, dword [ebp - 0x50a8]
mov byte [ebp + edx - 0x3030], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x5100], esp
lea eax, [ebp - 0x3030]
push eax
call fcn.00481032
mov dword [ebp - 0x5184], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, 0x4afa18
call fcn.00427489
mov dword [ebp - 0x5188], eax
cmp dword [ebp - 0x5188], 0
je 0x43f5e5
jmp 0x43f6f6
mov edx, dword [ebp - 0x50a8]
push edx
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x5150]
call fcn.00435f01
lea ecx, [ebp - 0x3038]
call fcn.0040a4c0
test eax, eax
jle 0x43f6f1
lea ecx, [ebp - 0x50ac]
call fcn.00403ac0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x50ac]
push edx
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp - 0x5150]
call fcn.0044049c
test eax, eax
je 0x43f653
lea ecx, [ebp - 0x50ac]
push ecx
lea ecx, [ebp - 0x3038]
call fcn.004813dc
push ecx
mov ecx, esp
mov dword [ebp - 0x5104], esp
lea edx, [ebp - 0x3038]
push edx
call fcn.00480d39
mov dword [ebp - 0x518c], eax
mov eax, dword [ebp - 0x518c]
mov dword [ebp - 0x5190], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x5108], esp
push 0x4a8944
call fcn.00481032
mov dword [ebp - 0x5194], eax
mov ecx, dword [ebp - 0x5194]
mov dword [ebp - 0x5198], ecx
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x510c], esp
push 0x4b012c
call fcn.00481032
mov dword [ebp - 0x519c], eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, 0x4afa18
mov byte [ebp - 4], 0xe
call fcn.00426c3e
push 0x4b0130
lea ecx, [ebp - 0x3038]
call fcn.0048114d
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50ac]
call fcn.00480fc4
jmp 0x43f4fa
mov eax, dword [ebp - 0x5098]
push eax
call fcn.004667d3
add esp, 4
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 0x5110], ecx
mov edx, dword [ebp - 0x5110]
push edx
call fcn.00481551
add esp, 4
mov dword [ebp - 0x5114], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x5114]
jmp 0x43ff15
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x5118], eax
mov ecx, dword [ebp - 0x5118]
push ecx
call fcn.00481551
add esp, 4
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x5074], eax
push 0
push 0
push 3
push 0
push 0
mov dx, word [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x5074]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x101c], eax
push 0
push 0x402cf500
push 0
push 0
push 0
lea edx, [ebp - 0x4040]
push edx
push 0x4a894c
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x4044], eax
mov dword [ebp - 0x404c], 1
jmp 0x43f7f4
mov ecx, dword [ebp - 0x404c]
add ecx, 1
mov dword [ebp - 0x404c], ecx
mov ecx, dword [ebp + 8]
call fcn.00440930
cmp dword [ebp - 0x404c], eax
jge 0x43f8b9
push 0
mov edx, dword [ebp - 0x404c]
push edx
lea eax, [ebp - 0x511c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004409b0
mov dword [ebp - 0x51a0], eax
mov ecx, dword [ebp - 0x51a0]
mov dword [ebp - 0x51a4], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x51a4]
call fcn.0042e500
push eax
call fcn.00465470
add esp, 4
push eax
mov edx, dword [ebp - 0x404c]
push edx
lea eax, [ebp - 0x5120]
push eax
mov ecx, dword [ebp + 8]
call fcn.004409b0
mov dword [ebp - 0x51a8], eax
mov ecx, dword [ebp - 0x51a8]
mov dword [ebp - 0x51ac], ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x51ac]
call fcn.0042e500
push eax
mov edx, dword [ebp - 0x4044]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov dword [ebp - 0x50b0], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5120]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x511c]
call fcn.00480fc4
jmp 0x43f7e5
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x4044]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x43f92f
mov ecx, dword [ebp - 0x4044]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x5074]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x5124], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x5124]
jmp 0x43ff15
mov dword [ebp - 0x5078], 0x1000
push 0
lea ecx, [ebp - 0x5078]
push ecx
lea edx, [ebp - 0x3030]
push edx
push 0x16
mov eax, dword [ebp - 0x4044]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43fae0
mov ecx, dword [ebp - 0x5078]
mov byte [ebp + ecx - 0x3030], 0
lea edx, [ebp - 0x3030]
mov dword [ebp - 0x50b4], edx
mov eax, dword [ebp - 0x50b4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x43fade
push 0x4a8950
mov edx, dword [ebp - 0x50b4]
push edx
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x50bc], eax
cmp dword [ebp - 0x50bc], 0
jne 0x43f9b3
jmp 0x43fade
mov eax, dword [ebp - 0x50b4]
push eax
lea ecx, [ebp - 0x50c0]
call fcn.00481032
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x50bc]
sub ecx, dword [ebp - 0x50b4]
add ecx, 2
push ecx
push 0
lea edx, [ebp - 0x5128]
push edx
lea ecx, [ebp - 0x50c0]
call fcn.0047aa77
mov dword [ebp - 0x51b0], eax
mov eax, dword [ebp - 0x51b0]
mov dword [ebp - 0x51b4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x51b4]
push ecx
lea ecx, [ebp - 0x50c0]
call fcn.004810fd
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5128]
call fcn.00480fc4
mov edx, dword [ebp - 0x50bc]
add edx, 2
mov dword [ebp - 0x50b4], edx
lea ecx, [ebp - 0x50b8]
call fcn.00403ac0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x50b8]
push eax
push str.Transfer_Encoding
lea ecx, [ebp - 0x50c0]
call fcn.0042e500
push eax
mov ecx, dword [ebp - 0x5150]
call fcn.004403a4
test eax, eax
je 0x43faa0
push 0x4a8968
lea ecx, [ebp - 0x50b8]
call fcn.00403f40
test eax, eax
jne 0x43faa0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x50b8]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50c0]
call fcn.00480fc4
jmp 0x43f97a
lea ecx, [ebp - 0x50c0]
call fcn.0042e500
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x5150]
call fcn.00435fa8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x50b8]
call fcn.00480fc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50c0]
call fcn.00480fc4
jmp 0x43f97a
jmp 0x43fb3d
mov edx, dword [ebp - 0x4044]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x5074]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x512c], 0xd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x512c]
jmp 0x43ff15
mov dword [ebp - 0x1018], 1
mov dl, byte [0x4b0134]
mov byte [ebp - 0x1014], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1013]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0x1000
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push 0x13
mov edx, dword [ebp - 0x4044]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43fbbf
lea eax, [ebp - 0x1014]
push eax
call fcn.004659a3
add esp, 4
cmp eax, 0xc8
jl 0x43fbb5
lea ecx, [ebp - 0x1014]
push ecx
call fcn.004659a3
add esp, 4
cmp eax, 0x12c
jl 0x43fbbf
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x10], 0x1000
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1014]
push eax
push 5
mov ecx, dword [ebp - 0x4044]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43fbfb
lea edx, [ebp - 0x1014]
push edx
call fcn.00465918
add esp, 4
mov dword [ebp - 0x1018], eax
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push 0x3f
mov edx, dword [ebp - 0x4044]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43fc3d
push str.Chunked
lea eax, [ebp - 0x1014]
push eax
call fcn.0046b9a0
add esp, 8
test eax, eax
jne 0x43fc3d
mov dword [ebp - 0x1018], 1
cmp dword [ebp - 0x1018], 0
jne 0x43fcd9
push ecx
mov ecx, esp
mov dword [ebp - 0x5130], esp
lea edx, [ebp - 0x3038]
push edx
call fcn.00480d39
mov dword [ebp - 0x51b8], eax
mov eax, dword [ebp - 0x51b8]
mov dword [ebp - 0x51bc], eax
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0x5134], esp
push 0x4a8978
call fcn.00481032
mov dword [ebp - 0x51c0], eax
mov ecx, dword [ebp - 0x51c0]
mov dword [ebp - 0x51c4], ecx
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x5138], esp
push 0x4b0138
call fcn.00481032
mov dword [ebp - 0x51c8], eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, 0x4afa18
mov byte [ebp - 4], 6
call fcn.00426c3e
push 0x4b013c
lea ecx, [ebp - 0x3038]
call fcn.0048114d
mov eax, dword [ebp + 0x18]
cmp dword [eax], 2
jne 0x43febd
mov ecx, dword [ebp - 0x5150]
cmp dword [ecx + 0x10], 0
je 0x43febd
cmp dword [ebp - 0x1018], 0
je 0x43febd
mov dword [ebp - 0x1018], 0x1000
lea edx, [ebp - 0x1018]
push edx
push 0x1000
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp - 0x4044]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x43fd35
jmp 0x43febd
cmp dword [ebp - 0x1018], 0
jne 0x43fd43
jmp 0x43febd
mov edx, dword [ebp - 0x1018]
mov byte [ebp + edx - 0x3030], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x513c], esp
lea eax, [ebp - 0x3030]
push eax
call fcn.00481032
mov dword [ebp - 0x51cc], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, 0x4afa18
call fcn.00427489
mov dword [ebp - 0x51d0], eax
cmp dword [ebp - 0x51d0], 0
je 0x43fd8e
jmp 0x43febd
mov edx, dword [ebp - 0x1018]
push edx
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x5150]
call fcn.00435f01
test eax, eax
jne 0x43fdb4
jmp 0x43febd
push 1
mov edx, dword [ebp - 0x1018]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.004231ed
add esp, 0xc
lea ecx, [ebp - 0x3038]
call fcn.0040a4c0
test eax, eax
jle 0x43feb8
lea ecx, [ebp - 0x50c4]
call fcn.00403ac0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x50c4]
push ecx
lea edx, [ebp - 0x3030]
push edx
mov ecx, dword [ebp - 0x5150]
call fcn.0044049c
test eax, eax
je 0x43fe1a
lea eax, [ebp - 0x50c4]
push eax
lea ecx, [ebp - 0x3038]
call fcn.004813dc
push ecx
mov ecx, esp
mov dword [ebp - 0x5140], esp
lea edx, [ebp - 0x3038]
push edx
call fcn.00480d39
mov dword [ebp - 0x51d4], eax
mov eax, dword [ebp - 0x51d4]
mov dword [ebp - 0x51d8], eax
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x5144], esp
push 0x4a8980
call fcn.00481032
mov dword [ebp - 0x51dc], eax
mov ecx, dword [ebp - 0x51dc]
mov dword [ebp - 0x51e0], ecx
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x5148], esp
push 0x4b0140
call fcn.00481032
mov dword [ebp - 0x51e4], eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, 0x4afa18
mov byte [ebp - 4], 0x18
call fcn.00426c3e
push 0x4b0144
lea ecx, [ebp - 0x3038]
call fcn.0048114d
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50c4]
call fcn.00480fc4
jmp 0x43fcd9
mov eax, dword [ebp - 0x4044]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x5074]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x514c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3038]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x303c]
call fcn.00480fc4
mov eax, dword [ebp - 0x514c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x14