Function at 0x4226e4
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, 0x461520
call fcn.00437048
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.00421548
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x422725
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423a15
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.00401050
mov ecx, esi
call fcn.00420897
test al, al
je 0x422882
mov ecx, edi
call fcn.00421019
mov ecx, esi
mov byte [ebp + 0xb], bl
call fcn.00420349
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.00405651
test eax, eax
push ebx
setne byte [ebp - 0x35]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x120]
call fcn.00401050
cmp byte [ebp - 0x35], bl
je 0x4227c9
mov ecx, esi
call fcn.00420924
mov ecx, edi
call fcn.00421019
mov ecx, esi
call fcn.00420901
mov byte [esi + 0xa1], bl
jmp 0x422858
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jg 0x4227e1
jl 0x4227d8
cmp dword [ebp - 0x44], 0x64
jae 0x4227e1
mov ecx, esi
call fcn.00420901
jmp 0x422858
cmp byte [edi + 0x1ad], bl
je 0x42280e
cmp eax, dword [edi + 0x1d4]
jl 0x42280e
jg 0x4227fe
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edi + 0x1d0]
jb 0x42280e
mov ecx, esi
call fcn.00420924
mov ecx, edi
call fcn.00421019
jmp 0x4227d8
cmp eax, ebx
jl 0x422858
jg 0x422819
cmp dword [ebp - 0x44], ebx
jbe 0x422858
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.00420f78
cmp byte [edi + 0x1ad], bl
je 0x422854
mov eax, dword [edi + 0x1d0]
mov ecx, dword [edi + 0x1d4]
mov edx, eax
or edx, ecx
je 0x422854
mov dword [edi + 0x318], eax
mov dword [edi + 0x31c], ecx
mov byte [ebp + 0xb], 1
lea eax, [esi + 0x84]
call fcn.00420324
cmp byte [ebp + 0xb], bl
jne 0x422882
cmp al, bl
je 0x422882
cmp byte [edi + 0x1ac], bl
je 0x422882
lea eax, [edi + 0x1b0]
push eax
mov ecx, edi
call fcn.00421314
mov ecx, edi
call fcn.0041ffcf
shl eax, 0xa
cmp dword [edi + 0x5c], 0x10
mov dword [ebp - 0x4c], eax
jb 0x42289a
mov eax, dword [edi + 0x48]
jmp 0x42289d
lea eax, [edi + 0x48]
push eax
call fcn.00438735
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 0x4706f0
push eax
mov dword [ebp - 4], 1
call fcn.004376b0
pop ecx
test eax, eax
pop ecx
mov eax, 0x4781d4
je 0x4228da
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 0x42290a
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423a0c
cmp dword [edi + 0x38c], ebx
jne 0x42293c
push 0x48
call fcn.0044f6ab
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x422930
push 1
mov ecx, eax
call fcn.00427410
jmp 0x422932
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x38c], eax
cmp dword [edi + 0x39c], ebx
jne 0x42296e
push 0x48
call fcn.0044f6ab
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x422962
push 1
mov ecx, eax
call fcn.00427410
jmp 0x422964
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x39c], eax
mov ecx, dword [edi + 0x39c]
call fcn.0042725c
lea eax, [edi + 0x170]
push eax
lea ecx, [ebp - 0x74]
call fcn.00404da1
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 0x4229a2
lea ecx, [ebp - 0x70]
push ebx
mov eax, 0x4706f0
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 0x4229d6
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422be4
lea ecx, [edi + 0x234]
call fcn.00428c2a
push eax
lea ecx, [ebp - 0x90]
call fcn.00404da1
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 5
call fcn.0042cc29
dec dword [esi + 0x18]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0xf0], ebx
jne 0x422a42
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422a2f
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422bd6
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 4
jmp 0x422a21
lea eax, [esi + 0xf0]
mov dword [ebp - 0x18], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00421548
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422a75
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422bce
cmp byte [edi + 0x3c], bl
je 0x422a8a
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
jmp 0x422a67
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x8c]
jae 0x422aa5
lea eax, [ebp - 0x8c]
push ebx
push ebx
push 3
push ebx
push 0x4706f0
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 0x422aef
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x422a67
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 5
jmp 0x422a67
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x422b00
push esi
jmp 0x422a67
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.00429202
cmp dword [eax + 0x18], 0x10
jb 0x422b2a
mov eax, dword [eax + 4]
jmp 0x422b2d
add eax, 4
push eax
call fcn.00438735
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1c], eax
call fcn.00401050
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x154], eax
lea eax, [edi + 0xf0]
cmp dword [eax + 0x18], 0x10
jb 0x422b5f
mov eax, dword [eax + 4]
jmp 0x422b62
add eax, 4
push eax
call fcn.00438735
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.00421548
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x422baa
cmp byte [edi + 0x3c], bl
je 0x422bec
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.004373c1
push dword [ebp - 0x1c]
call fcn.004373c1
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fe39
lea ecx, [ebp - 0x18]
call fcn.0041fe39
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.00401050
push ebx
push 1
jmp 0x423a04
cmp byte [edi + 0x3d], bl
mov dword [ebp + 8], 0x84400000
jne 0x422bff
mov dword [ebp + 8], 0x84600000
lea ecx, [edi + 0x234]
call fcn.00428c2e
push str.https
mov ecx, eax
call fcn.004026d2
test eax, eax
jne 0x422c1e
or byte [ebp + 0xa], 0x80
mov ecx, dword [edi + 0x3a4]
cmp ecx, ebx
je 0x422c44
lea eax, [edi + 0x234]
push eax
call fcn.00427daf
lea ecx, [eax + 8]
call fcn.0040bf3d
test eax, eax
jle 0x422c44
or byte [ebp + 0xa], 8
lea eax, [edi + 0x190]
push eax
lea ecx, [ebp - 0xac]
call fcn.00404da1
lea eax, [edi + 0x138]
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
call fcn.00404da1
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 0x422c8f
lea ecx, [ebp - 0xc4]
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
jae 0x422ca4
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 0x422cfd
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x422cea
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422d38
mov byte [edi + 0x398], 1
mov dword [edi + 0x3b0], 6
jmp 0x422cdf
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 0x422d26
cmp byte [edi + 0x3c], bl
je 0x422d40
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.0041fe39
xor esi, esi
inc esi
jmp 0x4239b9
mov edi, dword [ebp - 0x14]
push str.Connection:
push dword [esi + 0xf8]
add edi, 0x60
call fcn.004207c4
mov edi, dword [ebp - 0x14]
push str.Content_Type:
push dword [esi + 0xf8]
add edi, 0x7c
call fcn.004207c4
mov edi, dword [ebp - 0x14]
push str.Expect:
push dword [esi + 0xf8]
add edi, 0x98
call fcn.004207c4
mov edi, dword [ebp - 0x14]
push str.Transfer_Encoding:
push dword [esi + 0xf8]
add edi, 0x154
call fcn.004207c4
push 0x4706f0
lea ecx, [ebp - 0x104]
call fcn.00401496
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3a4]
cmp ecx, ebx
mov byte [ebp - 4], 0xd
je 0x422e93
add eax, 0x234
push eax
call fcn.00427daf
lea ecx, [eax + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp + 8], ebx
call fcn.0040bf3d
test eax, eax
jle 0x422e7d
push dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
call fcn.0042086e
cmp dword [ebp + 8], ebx
mov edi, eax
jle 0x422e06
push 0x472b08
lea ecx, [ebp - 0x104]
call fcn.004047d6
push 0x472984
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.0040507a
add edi, 0x24
push edi
push eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 0xe
call fcn.004050c8
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xf
call fcn.00403675
push ebx
push 1
lea ecx, [ebp - 0x120]
call fcn.00401050
push ebx
push 1
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xd
call fcn.00401050
mov ecx, dword [ebp - 0x54]
inc dword [ebp + 8]
add ecx, 8
call fcn.0040bf3d
cmp dword [ebp + 8], eax
jl 0x422de4
push str.Cookie:
push dword [esi + 0xf8]
lea edi, [ebp - 0x104]
call fcn.004207c4
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0xd0], bl
je 0x422eb7
push str.If_Modified_Since:
push dword [esi + 0xf8]
add edi, 0xb4
call fcn.004207c4
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x12c], ebx
jg 0x422ee3
jl 0x422ec9
cmp dword [edi + 0x128], ebx
jae 0x422ee3
cmp dword [edi + 0x134], ebx
jl 0x42300e
jg 0x422ee3
cmp dword [edi + 0x130], ebx
jb 0x42300e
push 0x3e8
call fcn.004373af
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 0x422f5d
jg 0x422f18
cmp dword [ebp - 0x44], ebx
jb 0x422f5d
mov eax, dword [edi + 0x134]
cmp eax, ebx
mov edx, dword [edi + 0x130]
jl 0x422f5d
jg 0x422f2e
cmp edx, ebx
jb 0x422f5d
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422f3f
mov ecx, dword [ecx + 4]
jmp 0x422f42
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.00437a7b
add esp, 0x1c
jmp 0x422fcf
cmp dword [ebp - 0x40], ebx
jl 0x422f96
jg 0x422f69
cmp dword [ebp - 0x44], ebx
jb 0x422f96
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422f7a
mov ecx, dword [ecx + 4]
jmp 0x422f7d
add ecx, 4
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push str._s_I64d_
push dword [ebp + 8]
call fcn.00437a7b
add esp, 0x14
jmp 0x422fcf
mov edx, dword [edi + 0x134]
cmp edx, ebx
mov eax, dword [edi + 0x130]
jl 0x422fca
jg 0x422fac
cmp eax, ebx
jb 0x422fca
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x422fbd
mov ecx, dword [ecx + 4]
jmp 0x422fc0
add ecx, 4
push edx
push eax
push ecx
push str._s__I64d
jmp 0x422f89
mov eax, dword [ebp + 8]
mov byte [eax], bl
push dword [ebp + 8]
lea ecx, [ebp - 0x120]
call fcn.00401496
push str.Range:
push dword [esi + 0xf8]
lea edi, [ebp - 0x120]
mov byte [ebp - 4], 0x11
call fcn.004207c4
push ebx
push 1
mov ecx, edi
call fcn.00401050
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.004373c1
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.00421548
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 0x423040
call edi
xor esi, esi
inc esi
jmp 0x4239a4
call edi
push dword [ebp - 0x4c]
call fcn.004373af
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.00437150
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 0x4230ad
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x28]
call fcn.004373c1
xor esi, esi
inc esi
jmp 0x4239a3
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.00401034
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0x13
call fcn.0042134b
dec dword [esi + 0x18]
push esi
call edi
cmp dword [ebp - 0xd4], ebx
je 0x42311f
cmp dword [ebp - 0xd0], 0x10
jb 0x423117
mov eax, dword [ebp - 0xe4]
jmp 0x423121
lea eax, [ebp - 0xe4]
jmp 0x423121
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 0x423160
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
je 0x42316a
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
jmp 0x42398b
dec dword [esi + 0x18]
call edi
push dword [ebp - 0x4c]
call fcn.004373af
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.00437150
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.00437150
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.00437150
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 0x42397c
cmp dword [ebp + 8], ebx
je 0x423255
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x30]
call fcn.004224cc
mov ecx, dword [ebp - 0x14]
add ecx, 0x234
call fcn.00428c2e
push str.https
mov ecx, eax
call fcn.004026d2
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 0x4233ac
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 0x423316
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x423316
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x114]
call fcn.00410f19
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 0x423316
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x423349
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x110]
add ecx, 0x338
call fcn.0040145b
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 0x42339d
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x42335f
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x114]
call fcn.00424436
jmp 0x423982
cmp dword [ebp - 0x180], ebx
je 0x42337b
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x180]
add ecx, 0x354
call fcn.0040145b
cmp dword [ebp - 0x17c], ebx
je 0x423397
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x17c]
add ecx, 0x370
call fcn.0040145b
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x14
call fcn.00424436
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42397c
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.0041fe7a
cmp eax, ebx
je 0x4233ef
cmp byte [eax], bl
je 0x4233ef
push eax
call fcn.00438091
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x4233f5
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 0x423418
jg 0x423412
cmp dword [ebp - 0x44], ebx
jb 0x423418
mov byte [ebp + 0xb], 1
jmp 0x42341b
mov byte [ebp + 0xb], bl
cmp edx, ebx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x320], al
jl 0x423456
jg 0x42342f
cmp dword [ebp - 0x44], ebx
jb 0x423456
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 0x423456
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 0x42346f
mov eax, dword [ecx + 0x310]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x314]
mov dword [ebp - 0x40], eax
jmp 0x423475
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.0041fe7a
cmp eax, ebx
je 0x4234a2
cmp byte [eax], bl
je 0x4234a2
push eax
call fcn.0043808c
pop ecx
jmp 0x4234a5
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x394], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x423973
cmp eax, ebx
je 0x423973
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.00421548
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 0x423980
call edi
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
mov eax, str.Cookie
call fcn.0041fe7a
cmp eax, ebx
mov dword [ebp - 0x58], eax
je 0x42353d
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x42397c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3a4]
cmp ecx, ebx
je 0x423537
push dword [ebp - 0x58]
add eax, 0x234
push eax
call fcn.00428845
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x4c]
call fcn.004373af
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 0x42357e
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x3c]
call fcn.004373c1
push dword [ebp - 0x30]
call fcn.004373c1
pop ecx
jmp 0x42398a
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00404da1
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0x17
call edi
push 0x4706f0
lea ecx, [ebp - 0x13c]
call fcn.004026d2
test eax, eax
setne byte [ebp - 0x35]
cmp byte [ebp - 0x35], bl
je 0x4235d9
cmp dword [ebp - 0x124], 0x10
mov eax, dword [ebp - 0x138]
jae 0x4235c7
lea eax, [ebp - 0x138]
push 0x478124
push eax
call fcn.00438261
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x4235dc
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 0x42362c
cmp eax, ebx
jne 0x42362c
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x42360c
dec dword [esi + 0x18]
call edi
jmp 0x42394f
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 8
mov byte [eax + 0x398], 1
jmp 0x423602
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x4238bb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x330]
call fcn.004219f5
cmp byte [ebp + 0xb], bl
mov dword [ebp - 0x140], eax
je 0x423671
cmp byte [ebp - 0x35], bl
jne 0x423671
mov eax, dword [ebp - 0x14]
push dword [eax + 0x310]
mov ecx, dword [ebp - 0x140]
call fcn.00427980
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 0x4236b2
cdq
sub eax, 1
sbb edx, ebx
cmp dword [ebp - 0x40], edx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
jg 0x4236a8
jl 0x4236a3
cmp dword [ebp - 0x44], eax
jae 0x4236a8
lea eax, [ebp - 0x44]
jmp 0x4236ae
lea eax, [ebp - 0x10c]
mov eax, dword [eax]
jmp 0x4236b3
dec eax
cmp dword [esi + 0xa4], 1
mov dword [ebp - 0x54], eax
jne 0x4236eb
lea eax, [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa4]
dec eax
je 0x423897
dec eax
jne 0x4236e2
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 0x4238bb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.004272ad
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38c]
call fcn.0042725c
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 0x4238bb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x4238ad
mov ecx, dword [eax + 0x38c]
call fcn.00427453
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 0x4238be
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4237e6
cmp byte [ebp - 0x35], bl
mov ecx, dword [ebp - 0x3c]
mov byte [eax + ecx], bl
je 0x4237d3
cmp dword [ebp - 0x34], ebx
je 0x4237e6
push dword [ebp - 0x34]
push dword [ebp - 0x50]
push 1
push ecx
call fcn.0043b3e4
add esp, 0x10
cmp eax, dword [ebp - 0x50]
je 0x4237e6
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x423908
dec dword [esi + 0x18]
call edi
jmp 0x423946
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 0x4237f4
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], ebx
cmp dword [ebp - 0x50], ebx
je 0x423941
push ebx
call fcn.00439602
cmp byte [ebp + 0xb], bl
pop ecx
je 0x423815
cmp dword [ebp - 0x40], ebx
jl 0x423834
jg 0x423815
cmp dword [ebp - 0x44], ebx
jbe 0x423834
mov ecx, dword [ebp - 0x58]
add ecx, 4
cmp eax, ecx
jle 0x423834
cmp dword [esi + 0xa4], 1
je 0x423834
mov ecx, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x58], eax
call fcn.00421548
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x42393c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42392b
dec dword [esi + 0x18]
call edi
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], eax
jge 0x42367a
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 0x42393c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3c], bl
jne 0x42392b
dec dword [esi + 0x18]
call edi
jmp 0x42367a
mov eax, dword [ebp - 0x14]
add esi, 0xa8
mov byte [eax + 0x399], 1
push esi
jmp 0x42393f
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
push esi
jmp 0x42393c
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 0x42393c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3b0], 7
jmp 0x423935
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x3ac], 4
mov dword [eax + 0x3b0], 9
mov byte [eax + 0x398], 1
jmp 0x4237c9
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 0x42394f
push dword [ebp - 0x34]
call fcn.00438305
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x13c]
call fcn.00401050
push dword [ebp - 0x3c]
call fcn.004373c1
push dword [ebp - 0x30]
call fcn.004373c1
pop ecx
pop ecx
jmp 0x42398e
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x335], bl
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x30]
call fcn.004373c1
pop ecx
xor esi, esi
inc esi
push ebx
lea ecx, [ebp - 0xe8]
push esi
call fcn.00401050
push dword [ebp - 0x28]
call fcn.004373c1
pop ecx
push ebx
lea ecx, [ebp - 0x104]
push esi
call fcn.00401050
lea ecx, [ebp - 0x2c]
call fcn.0041fe39
push ebx
lea ecx, [ebp - 0xc8]
push esi
call fcn.00401050
push ebx
lea ecx, [ebp - 0xac]
push esi
call fcn.00401050
push dword [ebp - 0x20]
call fcn.004373c1
push dword [ebp - 0x1c]
call fcn.004373c1
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041fe39
lea ecx, [ebp - 0x18]
call fcn.0041fe39
push ebx
lea ecx, [ebp - 0x90]
push esi
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.00401050
push dword [ebp - 0x10]
call fcn.004373c1
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4