Function at 0x4225e5
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, 0x461420
call fcn.00436808
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.00421445
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x422626
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423916
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.00420794
test al, al
je 0x422783
mov ecx, edi
call fcn.00420f16
mov ecx, esi
mov byte [ebp + 0xb], bl
call fcn.00420252
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 0x4226ca
mov ecx, esi
call fcn.00420821
mov ecx, edi
call fcn.00420f16
mov ecx, esi
call fcn.004207fe
mov byte [esi + 0xa1], bl
jmp 0x422759
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jg 0x4226e2
jl 0x4226d9
cmp dword [ebp - 0x44], 0x64
jae 0x4226e2
mov ecx, esi
call fcn.004207fe
jmp 0x422759
cmp byte [edi + 0x1ad], bl
je 0x42270f
cmp eax, dword [edi + 0x1d4]
jl 0x42270f
jg 0x4226ff
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edi + 0x1d0]
jb 0x42270f
mov ecx, esi
call fcn.00420821
mov ecx, edi
call fcn.00420f16
jmp 0x4226d9
cmp eax, ebx
jl 0x422759
jg 0x42271a
cmp dword [ebp - 0x44], ebx
jbe 0x422759
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.00420e75
cmp byte [edi + 0x1ad], bl
je 0x422755
mov eax, dword [edi + 0x1d0]
mov ecx, dword [edi + 0x1d4]
mov edx, eax
or edx, ecx
je 0x422755
mov dword [edi + 0x318], eax
mov dword [edi + 0x31c], ecx
mov byte [ebp + 0xb], 1
lea eax, [esi + 0x84]
call fcn.0042022d
cmp byte [ebp + 0xb], bl
jne 0x422783
cmp al, bl
je 0x422783
cmp byte [edi + 0x1ac], bl
je 0x422783
lea eax, [edi + 0x1b0]
push eax
mov ecx, edi
call fcn.00421211
mov ecx, edi
call fcn.0041fed8
shl eax, 0xa
cmp dword [edi + 0x5c], 0x10
mov dword [ebp - 0x4c], eax
jb 0x42279b
mov eax, dword [edi + 0x48]
jmp 0x42279e
lea eax, [edi + 0x48]
push eax
call fcn.004385c5
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.00437540
pop ecx
test eax, eax
pop ecx
mov eax, 0x47827c
je 0x4227db
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 0x42280b
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42390d
cmp dword [edi + 0x38c], ebx
jne 0x42283d
push 0x48
call fcn.0045354b
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x422831
push 1
mov ecx, eax
call fcn.0042726e
jmp 0x422833
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x38c], eax
cmp dword [edi + 0x39c], ebx
jne 0x42286f
push 0x48
call fcn.0045354b
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x422863
push 1
mov ecx, eax
call fcn.0042726e
jmp 0x422865
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x39c], eax
mov ecx, dword [edi + 0x39c]
call fcn.004270ba
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 0x4228a3
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 0x4228d7
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422ae5
lea ecx, [edi + 0x234]
call fcn.00428a1e
push eax
lea ecx, [ebp - 0x90]
call fcn.00404ec1
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 5
call fcn.00428a22
dec dword [esi + 0x18]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0xf0], ebx
jne 0x422943
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422930
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422ad7
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 4
jmp 0x422922
lea eax, [esi + 0xf0]
mov dword [ebp - 0x18], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00421445
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422976
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422acf
cmp byte [edi + 0x3c], bl
je 0x42298b
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
jmp 0x422968
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x8c]
jae 0x4229a6
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 0x4229f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x422968
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 5
jmp 0x422968
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x422a01
push esi
jmp 0x422968
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.00428ffa
cmp dword [eax + 0x18], 0x10
jb 0x422a2b
mov eax, dword [eax + 4]
jmp 0x422a2e
add eax, 4
push eax
call fcn.004385c5
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 0x422a60
mov eax, dword [eax + 4]
jmp 0x422a63
add eax, 4
push eax
call fcn.004385c5
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.00421445
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x422aab
cmp byte [edi + 0x3c], bl
je 0x422aed
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.00437251
push dword [ebp - 0x1c]
call fcn.00437251
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fd42
lea ecx, [ebp - 0x18]
call fcn.0041fd42
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.0040117c
push ebx
push 1
jmp 0x423905
cmp byte [edi + 0x3d], bl
mov dword [ebp + 8], 0x84400000
jne 0x422b00
mov dword [ebp + 8], 0x84600000
lea ecx, [edi + 0x234]
call fcn.00428a26
push str.https
mov ecx, eax
call fcn.0040280c
test eax, eax
jne 0x422b1f
or byte [ebp + 0xa], 0x80
mov ecx, dword [edi + 0x3a4]
cmp ecx, ebx
je 0x422b45
lea eax, [edi + 0x234]
push eax
call fcn.00427ba3
lea ecx, [eax + 8]
call fcn.00423c71
test eax, eax
jle 0x422b45
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 0x422b90
lea ecx, [ebp - 0xc4]
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
jae 0x422ba5
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 0x422bfe
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422beb
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422c39
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 6
jmp 0x422be0
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 0x422c27
cmp byte [edi + 0x3c], bl
je 0x422c41
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.0041fd42
xor esi, esi
inc esi
jmp 0x4238ba
mov edi, dword [ebp - 0x14]
push str.Connection:
push dword [esi + 0xf8]
add edi, 0x60
call fcn.004206c1
mov edi, dword [ebp - 0x14]
push str.Content_Type:
push dword [esi + 0xf8]
add edi, 0x7c
call fcn.004206c1
mov edi, dword [ebp - 0x14]
push str.Expect:
push dword [esi + 0xf8]
add edi, 0x98
call fcn.004206c1
mov edi, dword [ebp - 0x14]
push str.Transfer_Encoding:
push dword [esi + 0xf8]
add edi, 0x154
call fcn.004206c1
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 0x422d94
add eax, 0x234
push eax
call fcn.00427ba3
lea ecx, [eax + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp + 8], ebx
call fcn.00423c71
test eax, eax
jle 0x422d7e
push dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
call fcn.0042076b
cmp dword [ebp + 8], ebx
mov edi, eax
jle 0x422d07
push 0x472bb8
lea ecx, [ebp - 0x104]
call fcn.004048f6
push 0x472a34
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.00423c71
cmp dword [ebp + 8], eax
jl 0x422ce5
push str.Cookie:
push dword [esi + 0xf8]
lea edi, [ebp - 0x104]
call fcn.004206c1
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0xd0], bl
je 0x422db8
push str.If_Modified_Since:
push dword [esi + 0xf8]
add edi, 0xb4
call fcn.004206c1
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x12c], ebx
jg 0x422de4
jl 0x422dca
cmp dword [edi + 0x128], ebx
jae 0x422de4
cmp dword [edi + 0x134], ebx
jl 0x422f0f
jg 0x422de4
cmp dword [edi + 0x130], ebx
jb 0x422f0f
push 0x3e8
call fcn.0043723f
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 0x422e5e
jg 0x422e19
cmp dword [ebp - 0x44], ebx
jb 0x422e5e
mov eax, dword [edi + 0x134]
cmp eax, ebx
mov edx, dword [edi + 0x130]
jl 0x422e5e
jg 0x422e2f
cmp edx, ebx
jb 0x422e5e
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422e40
mov ecx, dword [ecx + 4]
jmp 0x422e43
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.0043790b
add esp, 0x1c
jmp 0x422ed0
cmp dword [ebp - 0x40], ebx
jl 0x422e97
jg 0x422e6a
cmp dword [ebp - 0x44], ebx
jb 0x422e97
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422e7b
mov ecx, dword [ecx + 4]
jmp 0x422e7e
add ecx, 4
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push str._s_I64d_
push dword [ebp + 8]
call fcn.0043790b
add esp, 0x14
jmp 0x422ed0
mov edx, dword [edi + 0x134]
cmp edx, ebx
mov eax, dword [edi + 0x130]
jl 0x422ecb
jg 0x422ead
cmp eax, ebx
jb 0x422ecb
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422ebe
mov ecx, dword [ecx + 4]
jmp 0x422ec1
add ecx, 4
push edx
push eax
push ecx
push str._s__I64d
jmp 0x422e8a
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.004206c1
push ebx
push 1
mov ecx, edi
call fcn.0040117c
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00437251
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.00421445
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 0x422f41
call edi
xor esi, esi
inc esi
jmp 0x4238a5
call edi
push dword [ebp - 0x4c]
call fcn.0043723f
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.00436fe0
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 0x422fae
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x28]
call fcn.00437251
xor esi, esi
inc esi
jmp 0x4238a4
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.00421248
dec dword [esi + 0x18]
push esi
call edi
cmp dword [ebp - 0xd4], ebx
je 0x423020
cmp dword [ebp - 0xd0], 0x10
jb 0x423018
mov eax, dword [ebp - 0xe4]
jmp 0x423022
lea eax, [ebp - 0xe4]
jmp 0x423022
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 0x423061
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
je 0x42306b
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
jmp 0x42388c
dec dword [esi + 0x18]
call edi
push dword [ebp - 0x4c]
call fcn.0043723f
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.00436fe0
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.00436fe0
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.00436fe0
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 0x42387d
cmp dword [ebp + 8], ebx
je 0x423156
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x30]
call fcn.004223cd
mov ecx, dword [ebp - 0x14]
add ecx, 0x234
call fcn.00428a26
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 0x4232ad
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 0x423217
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x423217
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x114]
call fcn.00410cdc
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 0x423217
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42324a
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 0x42329e
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x423260
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x114]
call fcn.00410565
jmp 0x423883
cmp dword [ebp - 0x180], ebx
je 0x42327c
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x180]
add ecx, 0x354
call fcn.00401575
cmp dword [ebp - 0x17c], ebx
je 0x423298
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.00410565
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42387d
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.0041fd83
cmp eax, ebx
je 0x4232f0
cmp byte [eax], bl
je 0x4232f0
push eax
call fcn.00437f21
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x4232f6
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 0x423319
jg 0x423313
cmp dword [ebp - 0x44], ebx
jb 0x423319
mov byte [ebp + 0xb], 1
jmp 0x42331c
mov byte [ebp + 0xb], bl
cmp edx, ebx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x320], al
jl 0x423357
jg 0x423330
cmp dword [ebp - 0x44], ebx
jb 0x423357
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 0x423357
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 0x423370
mov eax, dword [ecx + 0x310]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x314]
mov dword [ebp - 0x40], eax
jmp 0x423376
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.0041fd83
cmp eax, ebx
je 0x4233a3
cmp byte [eax], bl
je 0x4233a3
push eax
call fcn.00437f1c
pop ecx
jmp 0x4233a6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x394], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x423874
cmp eax, ebx
je 0x423874
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.00421445
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 0x423881
call edi
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
mov eax, str.Cookie
call fcn.0041fd83
cmp eax, ebx
mov dword [ebp - 0x58], eax
je 0x42343e
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42387d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3a4]
cmp ecx, ebx
je 0x423438
push dword [ebp - 0x58]
add eax, 0x234
push eax
call fcn.00428639
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x4c]
call fcn.0043723f
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 0x42347f
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x3c]
call fcn.00437251
push dword [ebp - 0x30]
call fcn.00437251
pop ecx
jmp 0x42388b
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 0x4234da
cmp dword [ebp - 0x124], 0x10
mov eax, dword [ebp - 0x138]
jae 0x4234c8
lea eax, [ebp - 0x138]
push 0x4781cc
push eax
call fcn.004380f1
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x4234dd
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 0x42352d
cmp eax, ebx
jne 0x42352d
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x42350d
dec dword [esi + 0x18]
call edi
jmp 0x423850
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 8
mov byte [eax + 0x398], 1
jmp 0x423503
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x4237bc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x330]
call fcn.004218f2
cmp byte [ebp + 0xb], bl
mov dword [ebp - 0x140], eax
je 0x423572
cmp byte [ebp - 0x35], bl
jne 0x423572
mov eax, dword [ebp - 0x14]
push dword [eax + 0x310]
mov ecx, dword [ebp - 0x140]
call fcn.004277da
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 0x4235b3
cdq
sub eax, 1
sbb edx, ebx
cmp dword [ebp - 0x40], edx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
jg 0x4235a9
jl 0x4235a4
cmp dword [ebp - 0x44], eax
jae 0x4235a9
lea eax, [ebp - 0x44]
jmp 0x4235af
lea eax, [ebp - 0x10c]
mov eax, dword [eax]
jmp 0x4235b4
dec eax
cmp dword [esi + 0xa4], 1
mov dword [ebp - 0x54], eax
jne 0x4235ec
lea eax, [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa4]
dec eax
je 0x423798
dec eax
jne 0x4235e3
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 0x4237bc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.0042710b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.004270ba
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 0x4237bc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x4237ae
mov ecx, dword [eax + 0x38c]
call fcn.004272b1
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 0x4237bf
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4236e7
cmp byte [ebp - 0x35], bl
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx], bl
je 0x4236d4
cmp dword [ebp - 0x34], ebx
je 0x4236e7
push dword [ebp - 0x34]
push dword [ebp - 0x50]
push 1
push ecx
call fcn.0043b274
add esp, 0x10
cmp eax, dword [ebp - 0x50]
je 0x4236e7
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x423809
dec dword [esi + 0x18]
call edi
jmp 0x423847
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 0x4236f5
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], ebx
cmp dword [ebp - 0x50], ebx
je 0x423842
push ebx
call fcn.00439492
cmp byte [ebp + 0xb], bl
pop ecx
je 0x423716
cmp dword [ebp - 0x40], ebx
jl 0x423735
jg 0x423716
cmp dword [ebp - 0x44], ebx
jbe 0x423735
mov ecx, dword [ebp - 0x58]
add ecx, 4
cmp eax, ecx
jle 0x423735
cmp dword [esi + 0xa4], 1
je 0x423735
mov ecx, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x58], eax
call fcn.00421445
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x42383d
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42382c
dec dword [esi + 0x18]
call edi
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], eax
jge 0x42357b
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 0x42383d
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42382c
dec dword [esi + 0x18]
call edi
jmp 0x42357b
mov eax, dword [ebp - 0x14]
add esi, 0xa8
mov byte [eax + 0x399], 1
push esi
jmp 0x423840
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
push esi
jmp 0x42383d
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 0x42383d
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3b0], 7
jmp 0x423836
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 9
mov byte [eax + 0x398], 1
jmp 0x4236ca
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 0x423850
push dword [ebp - 0x34]
call fcn.00438195
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x13c]
call fcn.0040117c
push dword [ebp - 0x3c]
call fcn.00437251
push dword [ebp - 0x30]
call fcn.00437251
pop ecx
pop ecx
jmp 0x42388f
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x335], bl
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x30]
call fcn.00437251
pop ecx
xor esi, esi
inc esi
push ebx
lea ecx, [ebp - 0xe8]
push esi
call fcn.0040117c
push dword [ebp - 0x28]
call fcn.00437251
pop ecx
push ebx
lea ecx, [ebp - 0x104]
push esi
call fcn.0040117c
lea ecx, [ebp - 0x2c]
call fcn.0041fd42
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.00437251
push dword [ebp - 0x1c]
call fcn.00437251
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fd42
lea ecx, [ebp - 0x18]
call fcn.0041fd42
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.00437251
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4