Function at 0x4225d8
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x461410
call fcn.004367f8
sub esp, 0x59c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x14], edi
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x422619
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423909
lea ecx, [edi + 0x234]
mov eax, dword [ecx]
lea edx, [ebp - 0x120]
push edx
call dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0x120]
call fcn.0040117c
mov ecx, esi
call fcn.00420787
test al, al
je 0x422776
mov ecx, edi
call fcn.00420f09
mov ecx, esi
mov byte [ebp + 0xb], bl
call fcn.00420245
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x234]
lea edx, [ebp - 0x120]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
push eax
lea ecx, [edi + 0x1d8]
mov dword [ebp - 4], ebx
call fcn.00405750
test eax, eax
push ebx
setne byte [ebp - 0x35]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x120]
call fcn.0040117c
cmp byte [ebp - 0x35], bl
je 0x4226bd
mov ecx, esi
call fcn.00420814
mov ecx, edi
call fcn.00420f09
mov ecx, esi
call fcn.004207f1
mov byte [esi + 0xa1], bl
jmp 0x42274c
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jg 0x4226d5
jl 0x4226cc
cmp dword [ebp - 0x44], 0x64
jae 0x4226d5
mov ecx, esi
call fcn.004207f1
jmp 0x42274c
cmp byte [edi + 0x1ad], bl
je 0x422702
cmp eax, dword [edi + 0x1d4]
jl 0x422702
jg 0x4226f2
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edi + 0x1d0]
jb 0x422702
mov ecx, esi
call fcn.00420814
mov ecx, edi
call fcn.00420f09
jmp 0x4226cc
cmp eax, ebx
jl 0x42274c
jg 0x42270d
cmp dword [ebp - 0x44], ebx
jbe 0x42274c
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
neg ecx
adc eax, ebx
neg eax
push eax
push ecx
mov ecx, edi
call fcn.00420e68
cmp byte [edi + 0x1ad], bl
je 0x422748
mov eax, dword [edi + 0x1d0]
mov ecx, dword [edi + 0x1d4]
mov edx, eax
or edx, ecx
je 0x422748
mov dword [edi + 0x318], eax
mov dword [edi + 0x31c], ecx
mov byte [ebp + 0xb], 1
lea eax, [esi + 0x84]
call fcn.00420220
cmp byte [ebp + 0xb], bl
jne 0x422776
cmp al, bl
je 0x422776
cmp byte [edi + 0x1ac], bl
je 0x422776
lea eax, [edi + 0x1b0]
push eax
mov ecx, edi
call fcn.00421204
mov ecx, edi
call fcn.0041fecb
shl eax, 0xa
cmp dword [edi + 0x5c], 0x10
mov dword [ebp - 0x4c], eax
jb 0x42278e
mov eax, dword [edi + 0x48]
jmp 0x422791
lea eax, [edi + 0x48]
push eax
call fcn.004385b5
dec dword [esi + 0x18]
pop ecx
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x158], eax
push 0x470898
push eax
mov dword [ebp - 4], 1
call fcn.00437530
pop ecx
test eax, eax
pop ecx
mov eax, 0x478284
je 0x4227ce
mov eax, dword [ebp - 0x10]
inc dword [esi + 0x18]
push esi
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x4227fe
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423900
cmp dword [edi + 0x38c], ebx
jne 0x422830
push 0x48
call fcn.0045353b
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x422824
push 1
mov ecx, eax
call fcn.00427261
jmp 0x422826
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x38c], eax
cmp dword [edi + 0x39c], ebx
jne 0x422862
push 0x48
call fcn.0045353b
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x422856
push 1
mov ecx, eax
call fcn.00427261
jmp 0x422858
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x39c], eax
mov ecx, dword [edi + 0x39c]
call fcn.004270ad
lea eax, [edi + 0x170]
push eax
lea ecx, [ebp - 0x74]
call fcn.00404ec1
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x5c], 0x10
mov ecx, dword [ebp - 0x70]
jae 0x422896
lea ecx, [ebp - 0x70]
push ebx
mov eax, 0x470898
push eax
push eax
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
inc dword [esi + 0x18]
push esi
mov dword [esi + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x4228ca
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422ad8
lea ecx, [edi + 0x234]
call fcn.00428a11
push eax
lea ecx, [ebp - 0x90]
call fcn.00404ec1
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 5
call fcn.00428a15
dec dword [esi + 0x18]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0xf0], ebx
jne 0x422936
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422923
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422aca
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 4
jmp 0x422915
lea eax, [esi + 0xf0]
mov dword [ebp - 0x18], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422969
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422ac2
cmp byte [edi + 0x3c], bl
je 0x42297e
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
jmp 0x42295b
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x8c]
jae 0x422999
lea eax, [ebp - 0x8c]
push ebx
push ebx
push 3
push ebx
push 0x470898
push dword [ebp + 8]
push eax
push dword [esi + 0xf0]
call dword [sym.imp.WININET.dll_InternetConnectA]
inc dword [esi + 0x18]
cmp eax, ebx
mov dword [esi + 0xf4], eax
push esi
jne 0x4229e3
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x42295b
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 5
jmp 0x42295b
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x4229f4
push esi
jmp 0x42295b
lea eax, [esi + 0xf4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 7
call fcn.00428fed
cmp dword [eax + 0x18], 0x10
jb 0x422a1e
mov eax, dword [eax + 4]
jmp 0x422a21
add eax, 4
push eax
call fcn.004385b5
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1c], eax
call fcn.0040117c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x154], eax
lea eax, [edi + 0xf0]
cmp dword [eax + 0x18], 0x10
jb 0x422a53
mov eax, dword [eax + 4]
jmp 0x422a56
add eax, 4
push eax
call fcn.004385b5
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x15c], eax
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, edi
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x422a9e
cmp byte [edi + 0x3c], bl
je 0x422ae0
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x20]
call fcn.00437241
push dword [ebp - 0x1c]
call fcn.00437241
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fd35
lea ecx, [ebp - 0x18]
call fcn.0041fd35
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.0040117c
push ebx
push 1
jmp 0x4238f8
cmp byte [edi + 0x3d], bl
mov dword [ebp + 8], 0x84400000
jne 0x422af3
mov dword [ebp + 8], 0x84600000
lea ecx, [edi + 0x234]
call fcn.00428a19
push str.https
mov ecx, eax
call fcn.0040280c
test eax, eax
jne 0x422b12
or byte [ebp + 0xa], 0x80
mov ecx, dword [edi + 0x3a4]
cmp ecx, ebx
je 0x422b38
lea eax, [edi + 0x234]
push eax
call fcn.00427b96
lea ecx, [eax + 8]
call fcn.00423c64
test eax, eax
jle 0x422b38
or byte [ebp + 0xa], 8
lea eax, [edi + 0x190]
push eax
lea ecx, [ebp - 0xac]
call fcn.00404ec1
lea eax, [edi + 0x138]
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
call fcn.00404ec1
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xb0], 0x10
mov ecx, dword [ebp - 0xc4]
jae 0x422b83
lea ecx, [ebp - 0xc4]
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
jae 0x422b98
lea eax, [ebp - 0xa8]
push ebx
push dword [ebp + 8]
lea edx, [ebp - 0x150]
push edx
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
lea ecx, [esi + 0xf8]
mov dword [ecx], eax
jne 0x422bf1
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422bde
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422c2c
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 6
jmp 0x422bd3
mov dword [ebp - 0x2c], ecx
inc dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x422c1a
cmp byte [edi + 0x3c], bl
je 0x422c34
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x2c]
call fcn.0041fd35
xor esi, esi
inc esi
jmp 0x4238ad
mov edi, dword [ebp - 0x14]
push str.Connection:
push dword [esi + 0xf8]
add edi, 0x60
call fcn.004206b4
mov edi, dword [ebp - 0x14]
push str.Content_Type:
push dword [esi + 0xf8]
add edi, 0x7c
call fcn.004206b4
mov edi, dword [ebp - 0x14]
push str.Expect:
push dword [esi + 0xf8]
add edi, 0x98
call fcn.004206b4
mov edi, dword [ebp - 0x14]
push str.Transfer_Encoding:
push dword [esi + 0xf8]
add edi, 0x154
call fcn.004206b4
push 0x470898
lea ecx, [ebp - 0x104]
call fcn.004015b0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3a4]
cmp ecx, ebx
mov byte [ebp - 4], 0xd
je 0x422d87
add eax, 0x234
push eax
call fcn.00427b96
lea ecx, [eax + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp + 8], ebx
call fcn.00423c64
test eax, eax
jle 0x422d71
push dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
call fcn.0042075e
cmp dword [ebp + 8], ebx
mov edi, eax
jle 0x422cfa
push 0x472bb0
lea ecx, [ebp - 0x104]
call fcn.004048f6
push 0x472a2c
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.0040519a
add edi, 0x24
push edi
push eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 0xe
call fcn.004051e8
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xf
call fcn.004037a2
push ebx
push 1
lea ecx, [ebp - 0x120]
call fcn.0040117c
push ebx
push 1
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xd
call fcn.0040117c
mov ecx, dword [ebp - 0x54]
inc dword [ebp + 8]
add ecx, 8
call fcn.00423c64
cmp dword [ebp + 8], eax
jl 0x422cd8
push str.Cookie:
push dword [esi + 0xf8]
lea edi, [ebp - 0x104]
call fcn.004206b4
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0xd0], bl
je 0x422dab
push str.If_Modified_Since:
push dword [esi + 0xf8]
add edi, 0xb4
call fcn.004206b4
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x12c], ebx
jg 0x422dd7
jl 0x422dbd
cmp dword [edi + 0x128], ebx
jae 0x422dd7
cmp dword [edi + 0x134], ebx
jl 0x422f02
jg 0x422dd7
cmp dword [edi + 0x130], ebx
jb 0x422f02
push 0x3e8
call fcn.0043722f
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x128]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x12c]
cmp eax, ebx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x40], eax
jl 0x422e51
jg 0x422e0c
cmp dword [ebp - 0x44], ebx
jb 0x422e51
mov eax, dword [edi + 0x134]
cmp eax, ebx
mov edx, dword [edi + 0x130]
jl 0x422e51
jg 0x422e22
cmp edx, ebx
jb 0x422e51
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422e33
mov ecx, dword [ecx + 4]
jmp 0x422e36
add ecx, 4
push eax
push edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push str._s_I64d__I64d
push dword [ebp + 8]
call fcn.004378fb
add esp, 0x1c
jmp 0x422ec3
cmp dword [ebp - 0x40], ebx
jl 0x422e8a
jg 0x422e5d
cmp dword [ebp - 0x44], ebx
jb 0x422e8a
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422e6e
mov ecx, dword [ecx + 4]
jmp 0x422e71
add ecx, 4
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push str._s_I64d_
push dword [ebp + 8]
call fcn.004378fb
add esp, 0x14
jmp 0x422ec3
mov edx, dword [edi + 0x134]
cmp edx, ebx
mov eax, dword [edi + 0x130]
jl 0x422ebe
jg 0x422ea0
cmp eax, ebx
jb 0x422ebe
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422eb1
mov ecx, dword [ecx + 4]
jmp 0x422eb4
add ecx, 4
push edx
push eax
push ecx
push str._s__I64d
jmp 0x422e7d
mov eax, dword [ebp + 8]
mov byte [eax], bl
push dword [ebp + 8]
lea ecx, [ebp - 0x120]
call fcn.004015b0
push str.Range:
push dword [esi + 0xf8]
lea edi, [ebp - 0x120]
mov byte [ebp - 4], 0x11
call fcn.004206b4
push ebx
push 1
mov ecx, edi
call fcn.0040117c
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00437241
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
push esi
call edi
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0x18]
cmp byte [esi + 0x1c], bl
push esi
je 0x422f34
call edi
xor esi, esi
inc esi
jmp 0x423898
call edi
push dword [ebp - 0x4c]
call fcn.0043722f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x168], eax
mov dword [esp], str.__blank__
push eax
mov byte [ebp - 4], 0x12
call fcn.00436fd0
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x28]
push SafeArrayGetElement
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x422fa1
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x28]
call fcn.00437241
xor esi, esi
inc esi
jmp 0x423897
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f4
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f4
mov dword [ebp + 8], eax
mov eax, dword [ecx]
call dword [eax + 0x54]
push ebx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xd0], 0xf
call fcn.00401160
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0x13
call fcn.0042123b
dec dword [esi + 0x18]
push esi
call edi
cmp dword [ebp - 0xd4], ebx
je 0x423013
cmp dword [ebp - 0xd0], 0x10
jb 0x42300b
mov eax, dword [ebp - 0xe4]
jmp 0x423015
lea eax, [ebp - 0xe4]
jmp 0x423015
xor eax, eax
push dword [ebp + 8]
push dword [ebp - 0x58]
push dword [ebp - 0xd4]
push eax
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x423054
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
je 0x42305e
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
jmp 0x42387f
dec dword [esi + 0x18]
call edi
push dword [ebp - 0x4c]
call fcn.0043722f
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x160], eax
mov dword [esp], str.__blank__
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00436fd0
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x28]
push SafeArrayGetElement
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push str.__blank__
push dword [ebp - 0x28]
call fcn.00436fd0
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x28]
push SafeArrayGetElement
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push str.__blank__
push dword [ebp - 0x30]
call fcn.00436fd0
mov eax, dword [ebp - 0x4c]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x30]
push 0x16
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov byte [eax], bl
push ebx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0x15
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
inc dword [esi + 0x18]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x423870
cmp dword [ebp + 8], ebx
je 0x423149
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x30]
call fcn.004223c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x234
call fcn.00428a19
push str.https
mov ecx, eax
call fcn.0040280c
neg eax
sbb al, al
inc al
dec dword [esi + 0x18]
push esi
mov byte [ebp + 0xb], al
call edi
cmp byte [ebp + 0xb], bl
je 0x4232a0
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
lea eax, [ebp + 8]
push eax
push ebx
push 0x23
push dword [esi + 0xf8]
mov byte [ebp - 4], 0x15
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
jne 0x42320a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42320a
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x114]
call fcn.00410ccf
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x110]
push 0x23
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x42320a
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42323d
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x110]
add ecx, 0x338
call fcn.00401575
dec dword [esi + 0x18]
push esi
call edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x20
push dword [esi + 0xf8]
mov dword [ebp + 8], 0x28
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x423291
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x423253
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x114]
call fcn.00410558
jmp 0x423876
cmp dword [ebp - 0x180], ebx
je 0x42326f
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x180]
add ecx, 0x354
call fcn.00401575
cmp dword [ebp - 0x17c], ebx
je 0x42328b
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x17c]
add ecx, 0x370
call fcn.00401575
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x14
call fcn.00410558
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x423870
mov ecx, dword [ebp - 0x30]
push 0x40
lea eax, [ebp - 0x1a8]
push eax
mov eax, str.Content_Length
mov byte [ebp - 0x1a8], bl
call fcn.0041fd76
cmp eax, ebx
je 0x4232e3
cmp byte [eax], bl
je 0x4232e3
push eax
call fcn.00437f11
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x4232e9
or edx, 0xffffffff
mov dword [ebp - 0x44], edx
cmp edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], edx
mov dword [ecx + 0x310], ebx
mov dword [ecx + 0x314], ebx
jl 0x42330c
jg 0x423306
cmp dword [ebp - 0x44], ebx
jb 0x42330c
mov byte [ebp + 0xb], 1
jmp 0x42330f
mov byte [ebp + 0xb], bl
cmp edx, ebx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x320], al
jl 0x42334a
jg 0x423323
cmp dword [ebp - 0x44], ebx
jb 0x42334a
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x310], eax
lea eax, [ecx + 0x318]
mov dword [ecx + 0x314], edx
mov edx, dword [eax]
or edx, dword [eax + 4]
jne 0x42334a
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
cmp byte [ebp + 0xb], bl
je 0x423363
mov eax, dword [ecx + 0x310]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x314]
mov dword [ebp - 0x40], eax
jmp 0x423369
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp - 0x30]
push 0x40
lea eax, [ebp - 0x1a8]
push eax
mov eax, str.Status_Code
mov byte [ebp - 0x1a8], bl
call fcn.0041fd76
cmp eax, ebx
je 0x423396
cmp byte [eax], bl
je 0x423396
push eax
call fcn.00437f0c
pop ecx
jmp 0x423399
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x394], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x423867
cmp eax, ebx
je 0x423867
mov eax, ecx
mov byte [eax + 0x335], 1
dec dword [esi + 0x18]
push esi
call edi
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0x18]
cmp byte [esi + 0x1c], bl
push esi
jne 0x423874
call edi
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
mov eax, str.Cookie
call fcn.0041fd76
cmp eax, ebx
mov dword [ebp - 0x58], eax
je 0x423431
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x423870
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3a4]
cmp ecx, ebx
je 0x42342b
push dword [ebp - 0x58]
add eax, 0x234
push eax
call fcn.0042862c
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x4c]
call fcn.0043722f
pop ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x164], eax
inc dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x423472
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x3c]
call fcn.00437241
push dword [ebp - 0x30]
call fcn.00437241
pop ecx
jmp 0x42387e
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00404ec1
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0x17
call edi
push 0x470898
lea ecx, [ebp - 0x13c]
call fcn.0040280c
test eax, eax
setne byte [ebp - 0x35]
cmp byte [ebp - 0x35], bl
je 0x4234cd
cmp dword [ebp - 0x124], 0x10
mov eax, dword [ebp - 0x138]
jae 0x4234bb
lea eax, [ebp - 0x138]
push 0x4781d4
push eax
call fcn.004380e1
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x4234d0
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x144], eax
cmp byte [ebp - 0x35], bl
mov byte [ebp - 4], 0x18
je 0x423520
cmp eax, ebx
jne 0x423520
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x423500
dec dword [esi + 0x18]
call edi
jmp 0x423843
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 8
mov byte [eax + 0x398], 1
jmp 0x4234f6
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x4237af
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x330]
call fcn.004218e5
cmp byte [ebp + 0xb], bl
mov dword [ebp - 0x140], eax
je 0x423565
cmp byte [ebp - 0x35], bl
jne 0x423565
mov eax, dword [ebp - 0x14]
push dword [eax + 0x310]
mov ecx, dword [ebp - 0x140]
call fcn.004277cd
dec dword [esi + 0x18]
push esi
call edi
mov dword [ebp - 0x58], ebx
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
je 0x4235a6
cdq
sub eax, 1
sbb edx, ebx
cmp dword [ebp - 0x40], edx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
jg 0x42359c
jl 0x423597
cmp dword [ebp - 0x44], eax
jae 0x42359c
lea eax, [ebp - 0x44]
jmp 0x4235a2
lea eax, [ebp - 0x10c]
mov eax, dword [eax]
jmp 0x4235a7
dec eax
cmp dword [esi + 0xa4], 1
mov dword [ebp - 0x54], eax
jne 0x4235df
lea eax, [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa4]
dec eax
je 0x42378b
dec eax
jne 0x4235d6
mov dword [esi + 0xa4], ebx
lea eax, [esi + 0xa8]
push eax
call edi
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x4237af
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.004270fe
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.004270ad
dec dword [esi + 0x18]
push esi
call edi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x3c]
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_InternetReadFile]
inc dword [esi + 0x18]
push esi
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x4237af
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x4237a1
mov ecx, dword [eax + 0x38c]
call fcn.004272a4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x50]
add eax, 0x328
add dword [eax], ecx
push esi
adc dword [eax + 4], ebx
dec dword [esi + 0x18]
call edi
cmp dword [ebp - 0xcc], ebx
je 0x4237b2
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4236da
cmp byte [ebp - 0x35], bl
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx], bl
je 0x4236c7
cmp dword [ebp - 0x34], ebx
je 0x4236da
push dword [ebp - 0x34]
push dword [ebp - 0x50]
push 1
push ecx
call fcn.0043b264
add esp, 0x10
cmp eax, dword [ebp - 0x50]
je 0x4236da
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x4237fc
dec dword [esi + 0x18]
call edi
jmp 0x42383a
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x140]
push dword [ebp - 0x3c]
mov eax, dword [ecx]
push 1
call dword [eax + 0x70]
cmp byte [ebp + 0xb], bl
je 0x4236e8
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], ebx
cmp dword [ebp - 0x50], ebx
je 0x423835
push ebx
call fcn.00439482
cmp byte [ebp + 0xb], bl
pop ecx
je 0x423709
cmp dword [ebp - 0x40], ebx
jl 0x423728
jg 0x423709
cmp dword [ebp - 0x44], ebx
jbe 0x423728
mov ecx, dword [ebp - 0x58]
add ecx, 4
cmp eax, ecx
jle 0x423728
cmp dword [esi + 0xa4], 1
je 0x423728
mov ecx, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x58], eax
call fcn.00421438
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x423830
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42381f
dec dword [esi + 0x18]
call edi
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], eax
jge 0x42356e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x423830
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42381f
dec dword [esi + 0x18]
call edi
jmp 0x42356e
mov eax, dword [ebp - 0x14]
add esi, 0xa8
mov byte [eax + 0x399], 1
push esi
jmp 0x423833
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
push esi
jmp 0x423830
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0xcc], 0x400
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x423830
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3b0], 7
jmp 0x423829
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 9
mov byte [eax + 0x398], 1
jmp 0x4236bd
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
cmp dword [ebp - 0x34], ebx
je 0x423843
push dword [ebp - 0x34]
call fcn.00438185
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x13c]
call fcn.0040117c
push dword [ebp - 0x3c]
call fcn.00437241
push dword [ebp - 0x30]
call fcn.00437241
pop ecx
pop ecx
jmp 0x423882
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x335], bl
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x30]
call fcn.00437241
pop ecx
xor esi, esi
inc esi
push ebx
lea ecx, [ebp - 0xe8]
push esi
call fcn.0040117c
push dword [ebp - 0x28]
call fcn.00437241
pop ecx
push ebx
lea ecx, [ebp - 0x104]
push esi
call fcn.0040117c
lea ecx, [ebp - 0x2c]
call fcn.0041fd35
push ebx
lea ecx, [ebp - 0xc8]
push esi
call fcn.0040117c
push ebx
lea ecx, [ebp - 0xac]
push esi
call fcn.0040117c
push dword [ebp - 0x20]
call fcn.00437241
push dword [ebp - 0x1c]
call fcn.00437241
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fd35
lea ecx, [ebp - 0x18]
call fcn.0041fd35
push ebx
lea ecx, [ebp - 0x90]
push esi
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.0040117c
push dword [ebp - 0x10]
call fcn.00437241
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4