Function at 0x4417b0
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 0x48ed90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x51dc
call fcn.0046b3f0
push esi
push edi
mov dword [ebp - 0x5164], ecx
mov dword [ebp - 0x38], 0
mov al, byte [0x4983bc]
mov byte [ebp - 0x305c], al
mov ecx, 0x802
xor eax, eax
lea edi, [ebp - 0x305b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cl, byte [0x4983bd]
mov byte [ebp - 0x1044], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1043]
rep stosd dword es:[edi], eax
push 0x4983c0
push 0
mov ecx, dword [ebp + 8]
call fcn.00443550
mov ecx, eax
call fcn.0040ee50
push eax
call fcn.0046b360
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x441847
xor eax, eax
jmp 0x4428ee
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
lea eax, [ebp - 0x1044]
push eax
call fcn.0046b260
add esp, 8
push 0x4983c4
lea ecx, [ebp - 0x1044]
push ecx
call fcn.0046b360
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x441881
xor eax, eax
jmp 0x4428ee
mov edx, dword [ebp - 0x34]
mov byte [edx], 0
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x2c]
call fcn.00407a10
mov dword [ebp - 4], 0
mov dword [ebp - 0x5094], 0
jmp 0x4418b8
mov eax, dword [ebp - 0x5094]
add eax, 1
mov dword [ebp - 0x5094], eax
mov ecx, dword [ebp + 8]
call fcn.004076e0
cmp dword [ebp - 0x5094], eax
jge 0x44191e
lea ecx, [ebp - 0x2c]
push ecx
push 0x4983c8
mov edx, dword [ebp - 0x5094]
push edx
mov ecx, dword [ebp + 8]
call fcn.00443550
mov ecx, eax
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00442d80
test eax, eax
je 0x44191c
lea ecx, [ebp - 0x2c]
call fcn.004434b0
push 0
push 0x4983d0
lea ecx, [ebp - 0x2c]
call fcn.0042d0f0
cmp eax, 0xffffffff
je 0x44191c
mov dword [ebp - 0x30], 0
jmp 0x44191e
jmp 0x4418a9
cmp dword [0x4b44e0], 0
je 0x44192e
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1048], 0
mov al, byte [0x4983d9]
mov byte [ebp - 0x508c], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x508b]
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x14], 0x50
jne 0x441980
lea ecx, [ebp - 0x1044]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.http:___s_s
lea eax, [ebp - 0x508c]
push eax
call fcn.0046b198
add esp, 0x10
jmp 0x4419a3
lea ecx, [ebp - 0x1044]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.http:___s:_d_s
lea ecx, [ebp - 0x508c]
push ecx
call fcn.0046b198
add esp, 0x14
push str.GETCache
lea ecx, [ebp - 0x50f0]
call fcn.00407a50
mov dword [ebp - 0x5168], eax
mov edx, dword [ebp - 0x5168]
mov dword [ebp - 0x516c], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x508c]
push eax
mov ecx, dword [ebp - 0x516c]
push ecx
lea edx, [ebp - 0x50f4]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x5170], eax
mov eax, dword [ebp - 0x5170]
mov dword [ebp - 0x5174], eax
mov byte [ebp - 4], 2
push 0x4983f8
mov ecx, dword [ebp - 0x5174]
push ecx
lea edx, [ebp - 0x104c]
push edx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50f4]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50f0]
call fcn.00407ac0
lea eax, [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x508c]
push ecx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
cmp dword [ebp - 0x30], 0
je 0x4421e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4421e4
mov edx, dword [ebp - 0x20]
push edx
call fcn.0048199e
add esp, 4
mov dword [ebp - 0x50f8], eax
mov eax, dword [ebp - 0x50f8]
mov dword [ebp - 0x1048], eax
mov ecx, dword [ebp - 0x1048]
mov dword [ecx], 0x50
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x508c]
push ecx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
test eax, eax
je 0x4421c9
mov edx, dword [ebp - 0x1048]
cmp dword [edx + 0x38], 0
je 0x4421c9
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1048]
add ecx, 0x38
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x3070]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0xffffffffffffffff
lea eax, [ebp - 0x3070]
push eax
lea ecx, [ebp - 0x50b0]
call fcn.00443360
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50a8]
call fcn.00443360
lea ecx, [ebp - 0x50a0]
call fcn.00443320
mov edx, dword [ebp - 0x50a4]
push edx
mov eax, dword [ebp - 0x50a8]
push eax
lea ecx, [ebp - 0x5100]
push ecx
lea ecx, [ebp - 0x50b0]
call fcn.00443480
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50a0], edx
mov dword [ebp - 0x509c], eax
lea ecx, [ebp - 0x50a0]
call fcn.00443340
mov ecx, eax
mov esi, edx
mov eax, dword [0x4b44e4]
cdq
mov dword [ebp - 0x517c], ecx
mov dword [ebp - 0x5178], esi
mov dword [ebp - 0x5184], eax
mov dword [ebp - 0x5180], edx
mov edx, dword [ebp - 0x5178]
cmp edx, dword [ebp - 0x5180]
jg 0x441b91
jl 0x441b88
mov eax, dword [ebp - 0x517c]
cmp eax, dword [ebp - 0x5184]
jae 0x441b91
mov dword [ebp - 0x30], 1
jmp 0x441b98
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x1048]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x5098], edx
mov eax, dword [ebp - 0x5098]
movsx ecx, byte [eax]
test ecx, ecx
je 0x441d36
push 0x498408
mov edx, dword [ebp - 0x5098]
push edx
call fcn.0046b360
add esp, 8
mov dword [ebp - 0x50bc], eax
cmp dword [ebp - 0x50bc], 0
jne 0x441be0
jmp 0x441d36
mov eax, dword [ebp - 0x5098]
push eax
lea ecx, [ebp - 0x50b4]
call fcn.00407a50
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50bc]
sub ecx, dword [ebp - 0x5098]
add ecx, 2
push ecx
push 0
lea edx, [ebp - 0x5104]
push edx
lea ecx, [ebp - 0x50b4]
call fcn.0040ea20
mov dword [ebp - 0x5188], eax
mov eax, dword [ebp - 0x5188]
mov dword [ebp - 0x518c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x518c]
push ecx
lea ecx, [ebp - 0x50b4]
call fcn.00407ae0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5104]
call fcn.00407ac0
mov edx, dword [ebp - 0x50bc]
add edx, 2
mov dword [ebp - 0x5098], edx
lea ecx, [ebp - 0x50b8]
call fcn.00407a10
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50b8]
push eax
push str.Pragma
lea ecx, [ebp - 0x50b4]
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00442d80
test eax, eax
je 0x441cdf
lea ecx, [ebp - 0x50b8]
call fcn.004434b0
push 0
push str.no_cache
lea ecx, [ebp - 0x50b8]
call fcn.0042d0f0
cmp eax, 0xffffffff
je 0x441cdf
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50b8]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50b4]
call fcn.00407ac0
jmp 0x441d36
push 0x498420
lea ecx, [ebp - 0x50b4]
call fcn.00411c90
test eax, eax
jne 0x441d13
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50b8]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50b4]
call fcn.00407ac0
jmp 0x441d36
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50b8]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50b4]
call fcn.00407ac0
jmp 0x441ba7
cmp dword [0x4b44e0], 0
je 0x441d46
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
je 0x4421c9
mov ecx, dword [ebp - 0x1048]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x5098], edx
mov eax, dword [ebp - 0x5098]
movsx ecx, byte [eax]
test ecx, ecx
je 0x441ef7
push 0x498424
mov edx, dword [ebp - 0x5098]
push edx
call fcn.0046b360
add esp, 8
mov dword [ebp - 0x50c8], eax
cmp dword [ebp - 0x50c8], 0
jne 0x441d98
jmp 0x441ef7
mov eax, dword [ebp - 0x5098]
push eax
lea ecx, [ebp - 0x50c4]
call fcn.00407a50
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x50c8]
sub ecx, dword [ebp - 0x5098]
add ecx, 2
push ecx
push 0
lea edx, [ebp - 0x5108]
push edx
lea ecx, [ebp - 0x50c4]
call fcn.0040ea20
mov dword [ebp - 0x5190], eax
mov eax, dword [ebp - 0x5190]
mov dword [ebp - 0x5194], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5194]
push ecx
lea ecx, [ebp - 0x50c4]
call fcn.00407ae0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5108]
call fcn.00407ac0
mov edx, dword [ebp - 0x50c8]
add edx, 2
mov dword [ebp - 0x5098], edx
lea ecx, [ebp - 0x50cc]
call fcn.00407a10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50cc]
push eax
push 0x498428
lea ecx, [ebp - 0x50c4]
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00442d80
test eax, eax
je 0x441e85
push 0x49843c
lea ecx, [ebp - 0x50cc]
call fcn.004047f0
test eax, eax
jne 0x441e85
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50cc]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50c4]
call fcn.00407ac0
jmp 0x441d5f
lea ecx, [ebp - 0x50c4]
call fcn.0040ee50
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x5164]
call fcn.00438db0
push 0x498444
lea ecx, [ebp - 0x50c4]
call fcn.00411c90
test eax, eax
jne 0x441ed4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50cc]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50c4]
call fcn.00407ac0
jmp 0x441ef7
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50cc]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50c4]
call fcn.00407ac0
jmp 0x441d5f
mov dword [ebp - 0x50c0], 0
push 0x498448
mov edx, dword [ebp - 0x1048]
mov eax, dword [edx + 8]
push eax
call fcn.0046d1f4
add esp, 8
mov dword [ebp - 0x50c0], eax
cmp dword [ebp - 0x50c0], 0
jne 0x441f75
mov ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x510c], ecx
mov edx, dword [ebp - 0x510c]
push edx
call fcn.00481999
add esp, 4
mov dword [ebp - 0x5110], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5110]
jmp 0x4428ee
mov eax, dword [ebp - 0x50c0]
mov ecx, dword [eax + 0xc]
and ecx, 0x10
jne 0x44216c
mov edx, dword [ebp - 0x50c0]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x305c]
push eax
call fcn.0046dcdd
add esp, 0x10
mov dword [ebp - 0x50d0], eax
cmp dword [ebp - 0x50d0], 0
jg 0x442010
mov ecx, dword [ebp - 0x50c0]
push ecx
call fcn.0046cff4
add esp, 4
mov edx, dword [ebp - 0x1048]
mov dword [ebp - 0x5114], edx
mov eax, dword [ebp - 0x5114]
push eax
call fcn.00481999
add esp, 4
mov dword [ebp - 0x5118], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5118]
jmp 0x4428ee
mov ecx, dword [ebp - 0x50d0]
mov byte [ebp + ecx - 0x305c], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x511c], esp
lea edx, [ebp - 0x305c]
push edx
call fcn.00407a50
mov dword [ebp - 0x5198], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, 0x4b2120
call fcn.00428940
mov dword [ebp - 0x519c], eax
cmp dword [ebp - 0x519c], 0
je 0x44205b
jmp 0x44216c
mov ecx, dword [ebp - 0x50d0]
push ecx
lea edx, [ebp - 0x305c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00438d00
lea ecx, [ebp - 0x104c]
call fcn.00407b80
test eax, eax
jle 0x442167
lea ecx, [ebp - 0x50d4]
call fcn.00407a10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50d4]
push ecx
lea edx, [ebp - 0x305c]
push edx
mov ecx, dword [ebp - 0x5164]
call fcn.00442e80
test eax, eax
je 0x4420c9
lea eax, [ebp - 0x50d4]
push eax
lea ecx, [ebp - 0x104c]
call fcn.0042d0d0
push ecx
mov ecx, esp
mov dword [ebp - 0x5120], esp
lea edx, [ebp - 0x104c]
push edx
call fcn.00407a30
mov dword [ebp - 0x51a0], eax
mov eax, dword [ebp - 0x51a0]
mov dword [ebp - 0x51a4], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x5124], esp
push 0x49844c
call fcn.00407a50
mov dword [ebp - 0x51a8], eax
mov ecx, dword [ebp - 0x51a8]
mov dword [ebp - 0x51ac], ecx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x5128], esp
push 0x498451
call fcn.00407a50
mov dword [ebp - 0x51b0], eax
mov edx, dword [ebp + 0x18]
push edx
mov byte [ebp - 4], 0xc
mov ecx, 0x4b2120
call fcn.00428160
push 0x498452
lea ecx, [ebp - 0x104c]
call fcn.00407b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50d4]
call fcn.00407ac0
jmp 0x441f75
mov eax, dword [ebp - 0x50c0]
push eax
call fcn.0046cff4
add esp, 4
mov ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x512c], ecx
mov edx, dword [ebp - 0x512c]
push edx
call fcn.00481999
add esp, 4
mov dword [ebp - 0x5130], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5130]
jmp 0x4428ee
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x5134], eax
mov ecx, dword [ebp - 0x5134]
push ecx
call fcn.00481999
add esp, 4
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4080], 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 - 0x4080]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x28], eax
push 0
push 0x402cf500
push 0
push 0
push 0
lea edx, [ebp - 0x1044]
push edx
push 0x498454
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x5094], 1
jmp 0x44225e
mov ecx, dword [ebp - 0x5094]
add ecx, 1
mov dword [ebp - 0x5094], ecx
mov ecx, dword [ebp + 8]
call fcn.004076e0
cmp dword [ebp - 0x5094], eax
jge 0x4422b9
push 0
mov edx, dword [ebp - 0x5094]
push edx
mov ecx, dword [ebp + 8]
call fcn.00443550
mov ecx, eax
call fcn.0040ee50
push eax
call fcn.0046b430
add esp, 4
push eax
mov eax, dword [ebp - 0x5094]
push eax
mov ecx, dword [ebp + 8]
call fcn.00443550
mov ecx, eax
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov dword [ebp - 0x50d8], eax
jmp 0x44224f
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x442323
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4080]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x5138], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5138]
jmp 0x4428ee
mov dword [ebp - 0x38], 0x1000
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x305c]
push ecx
push 0x16
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4424c8
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0x305c], 0
lea ecx, [ebp - 0x305c]
mov dword [ebp - 0x50dc], ecx
mov edx, dword [ebp - 0x50dc]
movsx eax, byte [edx]
test eax, eax
je 0x4424c6
push 0x498458
mov ecx, dword [ebp - 0x50dc]
push ecx
call fcn.0046b360
add esp, 8
mov dword [ebp - 0x50e4], eax
cmp dword [ebp - 0x50e4], 0
jne 0x44239b
jmp 0x4424c6
mov edx, dword [ebp - 0x50dc]
push edx
lea ecx, [ebp - 0x50e0]
call fcn.00407a50
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x50e4]
sub eax, dword [ebp - 0x50dc]
add eax, 2
push eax
push 0
lea ecx, [ebp - 0x513c]
push ecx
lea ecx, [ebp - 0x50e0]
call fcn.0040ea20
mov dword [ebp - 0x51b4], eax
mov edx, dword [ebp - 0x51b4]
mov dword [ebp - 0x51b8], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x51b8]
push eax
lea ecx, [ebp - 0x50e0]
call fcn.00407ae0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x513c]
call fcn.00407ac0
mov ecx, dword [ebp - 0x50e4]
add ecx, 2
mov dword [ebp - 0x50dc], ecx
lea ecx, [ebp - 0x50e8]
call fcn.00407a10
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x50e8]
push edx
push str.Transfer_Encoding
lea ecx, [ebp - 0x50e0]
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00442d80
test eax, eax
je 0x442488
push 0x498470
lea ecx, [ebp - 0x50e8]
call fcn.004047f0
test eax, eax
jne 0x442488
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50e8]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50e0]
call fcn.00407ac0
jmp 0x442362
lea ecx, [ebp - 0x50e0]
call fcn.0040ee50
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00438db0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50e8]
call fcn.00407ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50e0]
call fcn.00407ac0
jmp 0x442362
jmp 0x44251c
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4080]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x5140], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5140]
jmp 0x4428ee
mov dword [ebp - 0x3060], 1
mov cl, byte [0x498478]
mov byte [ebp - 0x407c], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x407b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5090], 0x1000
push 0
lea edx, [ebp - 0x5090]
push edx
lea eax, [ebp - 0x407c]
push eax
push 0x13
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4425a1
lea edx, [ebp - 0x407c]
push edx
call fcn.0046c429
add esp, 4
cmp eax, 0xc8
jl 0x442597
lea eax, [ebp - 0x407c]
push eax
call fcn.0046c429
add esp, 4
cmp eax, 0x12c
jl 0x4425a1
mov dword [ebp - 0x3060], 0
mov dword [ebp - 0x5090], 0x1000
push 0
lea ecx, [ebp - 0x5090]
push ecx
lea edx, [ebp - 0x407c]
push edx
push 5
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4425e0
lea ecx, [ebp - 0x407c]
push ecx
call fcn.0046c3a1
add esp, 4
mov dword [ebp - 0x3060], eax
push 0
lea edx, [ebp - 0x5090]
push edx
lea eax, [ebp - 0x407c]
push eax
push 0x3f
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x442622
push str.Chunked
lea edx, [ebp - 0x407c]
push edx
call fcn.0047231a
add esp, 8
test eax, eax
jne 0x442622
mov dword [ebp - 0x3060], 1
cmp dword [ebp - 0x3060], 0
jne 0x4426be
push ecx
mov ecx, esp
mov dword [ebp - 0x5144], esp
lea eax, [ebp - 0x104c]
push eax
call fcn.00407a30
mov dword [ebp - 0x51bc], eax
mov ecx, dword [ebp - 0x51bc]
mov dword [ebp - 0x51c0], ecx
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x5148], esp
push 0x498484
call fcn.00407a50
mov dword [ebp - 0x51c4], eax
mov edx, dword [ebp - 0x51c4]
mov dword [ebp - 0x51c8], edx
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0x514c], esp
push 0x498489
call fcn.00407a50
mov dword [ebp - 0x51cc], eax
mov eax, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 4
mov ecx, 0x4b2120
call fcn.00428160
push 0x49848a
lea ecx, [ebp - 0x104c]
call fcn.00407b00
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 2
jne 0x44289f
mov edx, dword [ebp - 0x5164]
cmp dword [edx + 0x10], 0
je 0x44289f
cmp dword [ebp - 0x3060], 0
je 0x44289f
mov dword [ebp - 0x3060], 0x1000
lea eax, [ebp - 0x3060]
push eax
push 0x1000
lea ecx, [ebp - 0x305c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x442717
jmp 0x44289f
cmp dword [ebp - 0x3060], 0
jne 0x442725
jmp 0x44289f
mov eax, dword [ebp - 0x3060]
mov byte [ebp + eax - 0x305c], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x5150], esp
lea edx, [ebp - 0x305c]
push edx
call fcn.00407a50
mov dword [ebp - 0x51d0], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, 0x4b2120
call fcn.00428940
mov dword [ebp - 0x51d4], eax
cmp dword [ebp - 0x51d4], 0
je 0x442770
jmp 0x44289f
mov ecx, dword [ebp - 0x3060]
push ecx
lea edx, [ebp - 0x305c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x5164]
call fcn.00438d00
test eax, eax
jne 0x442796
jmp 0x44289f
push 1
mov ecx, dword [ebp - 0x3060]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.00424520
add esp, 0xc
lea ecx, [ebp - 0x104c]
call fcn.00407b80
test eax, eax
jle 0x44289a
lea ecx, [ebp - 0x50ec]
call fcn.00407a10
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x50ec]
push eax
lea ecx, [ebp - 0x305c]
push ecx
mov ecx, dword [ebp - 0x5164]
call fcn.00442e80
test eax, eax
je 0x4427fc
lea edx, [ebp - 0x50ec]
push edx
lea ecx, [ebp - 0x104c]
call fcn.0042d0d0
push ecx
mov ecx, esp
mov dword [ebp - 0x5154], esp
lea eax, [ebp - 0x104c]
push eax
call fcn.00407a30
mov dword [ebp - 0x51d8], eax
mov ecx, dword [ebp - 0x51d8]
mov dword [ebp - 0x51dc], ecx
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x5158], esp
push 0x49848c
call fcn.00407a50
mov dword [ebp - 0x51e0], eax
mov edx, dword [ebp - 0x51e0]
mov dword [ebp - 0x51e4], edx
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0x515c], esp
push 0x498491
call fcn.00407a50
mov dword [ebp - 0x51e8], eax
mov eax, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 0x14
mov ecx, 0x4b2120
call fcn.00428160
push 0x498492
lea ecx, [ebp - 0x104c]
call fcn.00407b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50ec]
call fcn.00407ac0
jmp 0x4426be
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4080]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x5160], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407ac0
mov eax, dword [ebp - 0x5160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14