Function at 0x41affb
Capabilities:
Check http status code
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, 0x479cbc
call fcn.00450598
sub esp, 0x5a0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.0041972f
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x41b03c
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41c415
lea ecx, [edi + 0x234]
mov eax, dword [ecx]
lea edx, [ebp - 0x124]
push edx
call dword [eax + 0x10]
push ebx
push 1
lea ecx, [ebp - 0x124]
call fcn.004010e0
mov ecx, esi
call fcn.00418c22
test al, al
je 0x41b199
mov ecx, edi
call fcn.00419b7a
mov ecx, esi
mov byte [ebp + 0xb], bl
call fcn.004189b0
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x234]
lea edx, [ebp - 0x124]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push eax
lea ecx, [edi + 0x1d8]
mov dword [ebp - 4], ebx
call fcn.0040bd50
test eax, eax
push ebx
setne byte [ebp - 0x39]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x124]
call fcn.004010e0
cmp byte [ebp - 0x39], bl
je 0x41b0e0
mov ecx, esi
call fcn.00418d08
mov ecx, edi
call fcn.00419b7a
mov ecx, esi
call fcn.00418ce5
mov byte [esi + 0xa2], bl
jmp 0x41b16f
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jg 0x41b0f8
jl 0x41b0ef
cmp dword [ebp - 0x44], 0x64
jae 0x41b0f8
mov ecx, esi
call fcn.00418ce5
jmp 0x41b16f
cmp byte [edi + 0x1ad], bl
je 0x41b125
cmp eax, dword [edi + 0x1d4]
jl 0x41b125
jg 0x41b115
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edi + 0x1d0]
jb 0x41b125
mov ecx, esi
call fcn.00418d08
mov ecx, edi
call fcn.00419b7a
jmp 0x41b0ef
cmp eax, ebx
jl 0x41b16f
jg 0x41b130
cmp dword [ebp - 0x44], ebx
jbe 0x41b16f
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.0041968e
cmp byte [edi + 0x1ad], bl
je 0x41b16b
mov eax, dword [edi + 0x1d0]
mov ecx, dword [edi + 0x1d4]
mov edx, eax
or edx, ecx
je 0x41b16b
mov dword [edi + 0x318], eax
mov dword [edi + 0x31c], ecx
mov byte [ebp + 0xb], 1
lea eax, [esi + 0x84]
call fcn.0041898b
cmp byte [ebp + 0xb], bl
jne 0x41b199
cmp al, bl
je 0x41b199
cmp byte [edi + 0x1ac], bl
je 0x41b199
lea eax, [edi + 0x1b0]
push eax
mov ecx, edi
call fcn.00419029
mov ecx, edi
call fcn.0041837c
shl eax, 0xa
cmp dword [edi + 0x5c], 0x10
mov dword [ebp - 0x50], eax
jb 0x41b1b1
mov eax, dword [edi + 0x48]
jmp 0x41b1b4
lea eax, [edi + 0x48]
push eax
call fcn.004538c1
dec dword [esi + 0x18]
pop ecx
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x15c], eax
push 0x497880
push eax
mov dword [ebp - 4], 1
call fcn.004511e0
pop ecx
test eax, eax
pop ecx
mov eax, 0x499b84
je 0x41b1f1
mov eax, dword [ebp - 0x14]
inc dword [esi + 0x18]
push esi
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x41b221
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41c40c
cmp dword [edi + 0x38c], ebx
jne 0x41b251
push 0x40
call fcn.0046942d
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x41b245
mov ecx, eax
call fcn.0041d462
jmp 0x41b247
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x38c], eax
cmp dword [edi + 0x39c], ebx
jne 0x41b281
push 0x40
call fcn.0046942d
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41b275
mov ecx, eax
call fcn.0041d462
jmp 0x41b277
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x39c], eax
mov ecx, dword [edi + 0x39c]
call fcn.0041d38a
lea eax, [edi + 0x170]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402120
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x60], 0x10
mov ecx, dword [ebp - 0x74]
jae 0x41b2b5
lea ecx, [ebp - 0x74]
push ebx
mov eax, 0x497880
push eax
push eax
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
inc dword [esi + 0x18]
push esi
mov dword [esi + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x41b2e9
dec dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b4f7
lea ecx, [edi + 0x234]
call fcn.00421208
push eax
lea ecx, [ebp - 0x94]
call fcn.00402120
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 5
call fcn.0041d5bd
dec dword [esi + 0x18]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0xf4], ebx
jne 0x41b355
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x41b342
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b4e9
mov byte [edi + 0x398], 1
mov dword [edi + 0x3ac], 4
jmp 0x41b334
lea eax, [esi + 0xf4]
mov dword [ebp - 0x18], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0041972f
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x41b388
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b4e1
cmp byte [edi + 0x3c], bl
je 0x41b39d
mov byte [edi + 0x390], 1
mov byte [edi + 0x398], 1
jmp 0x41b37a
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x7c], 0x10
mov eax, dword [ebp - 0x90]
jae 0x41b3b8
lea eax, [ebp - 0x90]
push ebx
push ebx
push 3
push ebx
push 0x497880
push dword [ebp + 8]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.WININET.dll_InternetConnectA]
inc dword [esi + 0x18]
cmp eax, ebx
mov dword [esi + 0xf8], eax
push esi
jne 0x41b402
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x41b37a
mov byte [edi + 0x398], 1
mov dword [edi + 0x3ac], 5
jmp 0x41b37a
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x41b413
push esi
jmp 0x41b37a
lea eax, [esi + 0xf8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [edi + 0x234]
mov byte [ebp - 4], 7
call fcn.0042184b
cmp dword [eax + 0x18], 0x10
jb 0x41b43d
mov eax, dword [eax + 4]
jmp 0x41b440
add eax, 4
push eax
call fcn.004538c1
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
call fcn.004010e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x164], eax
lea eax, [edi + 0xf0]
cmp dword [eax + 0x18], 0x10
jb 0x41b472
mov eax, dword [eax + 4]
jmp 0x41b475
add eax, 4
push eax
call fcn.004538c1
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x16c], 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.0041972f
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41b4bd
cmp byte [edi + 0x3c], bl
je 0x41b4ff
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.0044e56d
push dword [ebp - 0x1c]
call fcn.0044e56d
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004181b2
lea ecx, [ebp - 0x18]
call fcn.004181b2
push ebx
push 1
lea ecx, [ebp - 0x94]
call fcn.004010e0
push ebx
push 1
jmp 0x41c404
cmp byte [edi + 0x3d], bl
mov dword [ebp + 8], 0x84400000
jne 0x41b512
mov dword [ebp + 8], 0x84600000
lea ecx, [edi + 0x234]
call fcn.0042120c
push str.https
mov ecx, eax
call fcn.00401d90
test eax, eax
jne 0x41b531
or byte [ebp + 0xa], 0x80
cmp dword [edi + 0x3a4], ebx
je 0x41b55b
mov ecx, dword [edi + 0x3a4]
lea eax, [edi + 0x234]
push eax
call fcn.0042034b
lea ecx, [eax + 8]
call fcn.004184e4
test eax, eax
jle 0x41b55b
or byte [ebp + 0xa], 8
lea eax, [edi + 0x190]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00402120
lea eax, [edi + 0x138]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call fcn.00402120
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x98], 0x10
mov ecx, dword [ebp - 0xac]
jae 0x41b5a6
lea ecx, [ebp - 0xac]
cmp dword [ebp - 0xb4], 0x10
mov eax, dword [ebp - 0xc8]
jae 0x41b5bb
lea eax, [ebp - 0xc8]
push ebx
push dword [ebp + 8]
lea edx, [ebp - 0x154]
push edx
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push eax
push dword [esi + 0xf8]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
lea ecx, [esi + 0xfc]
mov dword [ecx], eax
jne 0x41b614
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x41b601
dec dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b64f
mov byte [edi + 0x398], 1
mov dword [edi + 0x3ac], 6
jmp 0x41b5f6
mov dword [ebp - 0x34], 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 0x41b63d
cmp byte [edi + 0x3c], bl
je 0x41b657
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 - 0x34]
call fcn.004181b2
xor esi, esi
inc esi
jmp 0x41c3b9
mov edi, dword [ebp - 0x10]
push str.Connection:
push dword [esi + 0xfc]
add edi, 0x60
call fcn.00418b2f
mov edi, dword [ebp - 0x10]
push str.Content_Type:
push dword [esi + 0xfc]
add edi, 0x7c
call fcn.00418b2f
mov edi, dword [ebp - 0x10]
push str.Expect:
push dword [esi + 0xfc]
add edi, 0x98
call fcn.00418b2f
mov edi, dword [ebp - 0x10]
push str.Transfer_Encoding:
push dword [esi + 0xfc]
add edi, 0x154
call fcn.00418b2f
push 0x497880
lea ecx, [ebp - 0x108]
call fcn.004016b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3a4]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x41b7b3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3a4]
add eax, 0x234
push eax
call fcn.0042034b
lea ecx, [eax + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp + 8], ebx
call fcn.004184e4
test eax, eax
jle 0x41b79d
push dword [ebp + 8]
mov ecx, dword [ebp - 0x5c]
call fcn.00418bf9
cmp dword [ebp + 8], ebx
mov edi, eax
jle 0x41b726
push 0x499b38
lea ecx, [ebp - 0x108]
call fcn.004021a0
push 0x499b34
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004022b0
add edi, 0x24
push edi
push eax
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0xe
call fcn.00402900
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xf
call fcn.00401f20
push ebx
push 1
lea ecx, [ebp - 0x124]
call fcn.004010e0
push ebx
push 1
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xd
call fcn.004010e0
mov ecx, dword [ebp - 0x5c]
inc dword [ebp + 8]
add ecx, 8
call fcn.004184e4
cmp dword [ebp + 8], eax
jl 0x41b704
push str.Cookie:
push dword [esi + 0xfc]
lea edi, [ebp - 0x108]
call fcn.00418b2f
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0xd0], bl
je 0x41b7d7
push str.If_Modified_Since:
push dword [esi + 0xfc]
add edi, 0xb4
call fcn.00418b2f
mov edi, dword [ebp - 0x10]
cmp dword [edi + 0x12c], ebx
jg 0x41b803
jl 0x41b7e9
cmp dword [edi + 0x128], ebx
jae 0x41b803
cmp dword [edi + 0x134], ebx
jl 0x41b92b
jg 0x41b803
cmp dword [edi + 0x130], ebx
jb 0x41b92b
push 0x3e8
call fcn.0044ec5d
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x58], 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 0x41b87a
jg 0x41b835
cmp dword [ebp - 0x44], ebx
jb 0x41b87a
mov eax, dword [edi + 0x134]
cmp eax, ebx
mov edx, dword [edi + 0x130]
jl 0x41b87a
jg 0x41b84b
cmp edx, ebx
jb 0x41b87a
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x41b85c
mov ecx, dword [ecx + 4]
jmp 0x41b85f
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.00450510
add esp, 0x1c
jmp 0x41b8ec
cmp dword [ebp - 0x40], ebx
jl 0x41b8b3
jg 0x41b886
cmp dword [ebp - 0x44], ebx
jb 0x41b8b3
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x41b897
mov ecx, dword [ecx + 4]
jmp 0x41b89a
add ecx, 4
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ecx
push str._s_I64d_
push dword [ebp + 8]
call fcn.00450510
add esp, 0x14
jmp 0x41b8ec
mov edx, dword [edi + 0x134]
cmp edx, ebx
mov eax, dword [edi + 0x130]
jl 0x41b8e7
jg 0x41b8c9
cmp eax, ebx
jb 0x41b8e7
lea ecx, [edi + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x41b8da
mov ecx, dword [ecx + 4]
jmp 0x41b8dd
add ecx, 4
push edx
push eax
push ecx
push str._s__I64d
jmp 0x41b8a6
mov eax, dword [ebp + 8]
mov byte [eax], bl
push dword [ebp + 8]
lea ecx, [ebp - 0x124]
call fcn.004016b0
push str.Range:
push dword [esi + 0xfc]
lea edi, [ebp - 0x124]
mov byte [ebp - 4], 0x11
call fcn.00418b2f
push ebx
push 1
mov ecx, edi
call fcn.004010e0
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.0044e56d
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
push esi
call edi
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0041972f
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 0x41b95d
call edi
xor esi, esi
inc esi
jmp 0x41c3a4
call edi
push dword [ebp - 0x50]
call fcn.0044ec5d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x168], eax
mov dword [esp], str.__blank__
push eax
mov byte [ebp - 4], 0x12
call fcn.00451a70
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x28]
push SafeArrayUnaccessData
push dword [esi + 0xfc]
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 0x41b9ca
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x28]
call fcn.0044e56d
xor esi, esi
inc esi
jmp 0x41c3a3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1f4
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, 0x1f4
mov dword [ebp + 8], eax
mov eax, dword [ecx]
call dword [eax + 0x54]
push ebx
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xd4], 0xf
call fcn.004010c0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 0x13
call fcn.00419060
dec dword [esi + 0x18]
push esi
call edi
cmp dword [ebp - 0xd8], ebx
je 0x41ba3c
cmp dword [ebp - 0xd4], 0x10
jb 0x41ba34
mov eax, dword [ebp - 0xe8]
jmp 0x41ba3e
lea eax, [ebp - 0xe8]
jmp 0x41ba3e
xor eax, eax
push dword [ebp + 8]
push dword [ebp - 0x58]
push dword [ebp - 0xd8]
push eax
push dword [esi + 0xfc]
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 0x41ba7d
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3c], bl
je 0x41ba87
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
jmp 0x41c38b
dec dword [esi + 0x18]
call edi
push dword [ebp - 0x50]
call fcn.0044ec5d
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.00451a70
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x28]
push SafeArrayUnaccessData
push dword [esi + 0xfc]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push str.__blank__
push dword [ebp - 0x28]
call fcn.00451a70
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x28]
push SafeArrayUnaccessData
push dword [esi + 0xfc]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push str.__blank__
push dword [ebp - 0x30]
call fcn.00451a70
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
push ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x30]
push 0x16
push dword [esi + 0xfc]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
mov byte [eax], bl
push ebx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 0x15
push dword [esi + 0xfc]
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 0x41c37c
cmp dword [ebp + 8], ebx
je 0x41bb72
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x30]
call fcn.0041ade9
mov ecx, dword [ebp - 0x10]
add ecx, 0x234
call fcn.0042120c
push str.https
mov ecx, eax
call fcn.00401d90
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 0x41bcc9
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
lea eax, [ebp + 8]
push eax
push ebx
push 0x23
push dword [esi + 0xfc]
mov byte [ebp - 4], 0x15
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
jne 0x41bc33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41bc33
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x118]
call fcn.0041432b
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x114]
push 0x23
push dword [esi + 0xfc]
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x41bc33
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41bc66
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x114]
add ecx, 0x338
call fcn.004021d0
dec dword [esi + 0x18]
push esi
call edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x20
push dword [esi + 0xfc]
mov dword [ebp + 8], 0x28
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x41bcba
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
je 0x41bc7c
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x118]
call fcn.0041dc54
jmp 0x41c382
cmp dword [ebp - 0x184], ebx
je 0x41bc98
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x184]
add ecx, 0x354
call fcn.004021d0
cmp dword [ebp - 0x180], ebx
je 0x41bcb4
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x180]
add ecx, 0x370
call fcn.004021d0
dec dword [esi + 0x18]
push esi
call edi
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.0041dc54
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41c37c
mov ecx, dword [ebp - 0x30]
push 0x40
lea eax, [ebp - 0x1ac]
push eax
mov eax, str.Content_Length
mov byte [ebp - 0x1ac], bl
call fcn.004181d2
cmp eax, ebx
je 0x41bd0c
cmp byte [eax], bl
je 0x41bd0c
push eax
call fcn.0044ee10
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x41bd12
or edx, 0xffffffff
mov dword [ebp - 0x44], edx
cmp edx, ebx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], edx
mov dword [ecx + 0x310], ebx
mov dword [ecx + 0x314], ebx
jl 0x41bd35
jg 0x41bd2f
cmp dword [ebp - 0x44], ebx
jb 0x41bd35
mov byte [ebp + 0xb], 1
jmp 0x41bd38
mov byte [ebp + 0xb], bl
cmp edx, ebx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x320], al
jl 0x41bd73
jg 0x41bd4c
cmp dword [ebp - 0x44], ebx
jb 0x41bd73
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 0x41bd73
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 0x41bd8c
mov eax, dword [ecx + 0x310]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x314]
mov dword [ebp - 0x40], eax
jmp 0x41bd92
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp - 0x30]
push 0x40
lea eax, [ebp - 0x1ac]
push eax
mov eax, str.Status_Code
mov byte [ebp - 0x1ac], bl
call fcn.004181d2
cmp eax, ebx
je 0x41bdbf
cmp byte [eax], bl
je 0x41bdbf
push eax
call fcn.0044ee0b
pop ecx
jmp 0x41bdc2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x394], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x41c373
cmp eax, ebx
je 0x41c373
mov eax, ecx
mov byte [eax + 0x335], 1
dec dword [esi + 0x18]
push esi
call edi
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0041972f
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 0x41c380
call edi
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
mov eax, str.Cookie
call fcn.004181d2
cmp eax, ebx
mov dword [ebp - 0x58], eax
je 0x41be5e
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41c37c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3a4], ebx
je 0x41be58
mov ecx, dword [eax + 0x3a4]
push dword [ebp - 0x58]
add eax, 0x234
push eax
call fcn.00420e23
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x50]
call fcn.0044ec5d
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x158], 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 0x41be9f
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x38]
call fcn.0044e56d
push dword [ebp - 0x30]
call fcn.0044e56d
pop ecx
jmp 0x41c38a
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402120
dec dword [esi + 0x18]
push esi
mov byte [ebp - 4], 0x17
call edi
push 0x497880
lea ecx, [ebp - 0x140]
call fcn.00401d90
test eax, eax
setne byte [ebp - 0x3a]
cmp byte [ebp - 0x3a], bl
je 0x41befa
cmp dword [ebp - 0x128], 0x10
mov eax, dword [ebp - 0x13c]
jae 0x41bee8
lea eax, [ebp - 0x13c]
push 0x499acc
push eax
call fcn.00451c50
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
jmp 0x41befd
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x148], eax
cmp byte [ebp - 0x3a], bl
mov byte [ebp - 4], 0x18
je 0x41bf4d
cmp eax, ebx
jne 0x41bf4d
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x41bf2d
dec dword [esi + 0x18]
call edi
jmp 0x41c34f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3a8], 4
mov dword [eax + 0x3ac], 8
mov byte [eax + 0x398], 1
jmp 0x41bf23
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41c2af
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x330]
call fcn.0041a15b
cmp byte [ebp + 0xb], bl
mov dword [ebp - 0x144], eax
je 0x41bf92
cmp byte [ebp - 0x3a], bl
jne 0x41bf92
mov eax, dword [ebp - 0x10]
push dword [eax + 0x310]
mov ecx, dword [ebp - 0x144]
call fcn.0041fe2a
dec dword [esi + 0x18]
push esi
call edi
mov dword [ebp - 0x58], ebx
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], ebx
je 0x41bfd3
cdq
sub eax, 1
sbb edx, ebx
cmp dword [ebp - 0x40], edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
jg 0x41bfc9
jl 0x41bfc4
cmp dword [ebp - 0x44], eax
jae 0x41bfc9
lea eax, [ebp - 0x44]
jmp 0x41bfcf
lea eax, [ebp - 0x110]
mov eax, dword [eax]
jmp 0x41bfd4
dec eax
cmp dword [esi + 0xa8], 1
mov dword [ebp - 0x5c], eax
jne 0x41c00c
lea eax, [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa8]
dec eax
je 0x41c28b
dec eax
jne 0x41c003
mov dword [esi + 0xa8], ebx
lea eax, [esi + 0xac]
push eax
call edi
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
jne 0x41c2af
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38c]
call fcn.0041d3db
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38c]
call fcn.0041d38a
dec dword [esi + 0x18]
push esi
mov byte [esi + 0xa1], 1
call edi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [esi + 0xfc]
call dword [sym.imp.WININET.dll_InternetReadFile]
inc dword [esi + 0x18]
push esi
mov dword [ebp - 0xd0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
lea eax, [esi + 0x100]
mov cl, byte [eax]
mov byte [esi + 0xa1], bl
mov byte [ebp - 0x45], cl
mov byte [eax], bl
jne 0x41c2af
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3c], bl
jne 0x41c2a1
mov ecx, dword [eax + 0x38c]
call fcn.0041d586
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x54]
add eax, 0x328
add dword [eax], ecx
push esi
adc dword [eax + 4], ebx
dec dword [esi + 0x18]
call edi
cmp dword [esi + 0xa8], 1
jne 0x41c0c9
cmp byte [ebp - 0x45], bl
je 0x41c0c9
mov al, 1
jmp 0x41c0cb
xor al, al
cmp dword [ebp - 0xd0], ebx
jne 0x41c0db
cmp al, bl
je 0x41c2b5
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x41c196
mov ecx, dword [ebp - 0x38]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x394]
cmp eax, 0x190
jl 0x41c107
cmp eax, 0x1f9
mov byte [ebp - 0x39], 1
jle 0x41c10a
mov byte [ebp - 0x39], bl
mov ecx, esi
call fcn.00418c22
test al, al
je 0x41c11e
cmp byte [ebp - 0x39], bl
je 0x41c11e
mov al, 1
jmp 0x41c120
xor al, al
cmp byte [ebp - 0x3a], bl
je 0x41c183
cmp dword [ebp - 0x2c], ebx
je 0x41c196
cmp al, bl
je 0x41c133
mov eax, dword [ebp - 0x54]
jmp 0x41c146
push dword [ebp - 0x2c]
push dword [ebp - 0x54]
push 1
push dword [ebp - 0x38]
call fcn.00452084
add esp, 0x10
cmp byte [ebp - 0x45], bl
mov dword [ebp - 0xd0], eax
je 0x41c15a
push dword [ebp - 0x2c]
call fcn.00451f24
pop ecx
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xd0], eax
je 0x41c196
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
je 0x41c2f9
dec dword [esi + 0x18]
call edi
jmp 0x41c346
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x38]
mov eax, dword [ecx]
push 1
call dword [eax + 0x70]
cmp byte [ebp + 0xb], bl
je 0x41c1a4
mov eax, dword [ebp - 0x54]
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], ebx
cmp byte [ebp - 0x45], bl
jne 0x41c250
cmp dword [ebp - 0x54], ebx
je 0x41c341
push ebx
call fcn.00451d8b
cmp byte [ebp + 0xb], bl
pop ecx
je 0x41c1ce
cmp dword [ebp - 0x40], ebx
jl 0x41c1ed
jg 0x41c1ce
cmp dword [ebp - 0x44], ebx
jbe 0x41c1ed
mov ecx, dword [ebp - 0x58]
add ecx, 4
cmp eax, ecx
jle 0x41c1ed
cmp dword [esi + 0xa8], 1
je 0x41c1ed
mov ecx, dword [ebp - 0x10]
push esi
mov dword [ebp - 0x58], eax
call fcn.0041972f
inc dword [esi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], bl
push esi
jne 0x41c33c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3c], bl
jne 0x41c32b
dec dword [esi + 0x18]
call edi
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], eax
jge 0x41bf9b
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 0x41c33c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3c], bl
jne 0x41c32b
dec dword [esi + 0x18]
call edi
jmp 0x41bf9b
cmp dword [esi + 0xa8], 1
jne 0x41c341
lea eax, [esi + 0xac]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xa8]
dec eax
je 0x41c31c
dec eax
jne 0x41c283
mov dword [esi + 0xa8], ebx
push dword [ebp + 8]
jmp 0x41c33f
mov eax, dword [ebp - 0x10]
add esi, 0xac
mov byte [eax + 0x399], 1
push esi
jmp 0x41c33f
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
push esi
jmp 0x41c33c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5ac]
push eax
lea eax, [ebp - 0x148]
push eax
mov dword [ebp - 0x58], 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 0x41c33c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3ac], 7
jmp 0x41c335
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3a8], 4
mov dword [eax + 0x3ac], 9
mov byte [eax + 0x398], 1
jmp 0x41c179
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x399], 1
jmp 0x41c283
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x390], 1
mov byte [eax + 0x398], 1
dec dword [esi + 0x18]
call edi
cmp dword [ebp - 0x2c], ebx
je 0x41c34f
push dword [ebp - 0x2c]
call fcn.00451018
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x140]
call fcn.004010e0
push dword [ebp - 0x38]
call fcn.0044e56d
push dword [ebp - 0x30]
call fcn.0044e56d
pop ecx
pop ecx
jmp 0x41c38e
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x335], bl
dec dword [esi + 0x18]
push esi
call edi
push dword [ebp - 0x30]
call fcn.0044e56d
pop ecx
xor esi, esi
inc esi
push ebx
lea ecx, [ebp - 0xec]
push esi
call fcn.004010e0
push dword [ebp - 0x28]
call fcn.0044e56d
pop ecx
push ebx
lea ecx, [ebp - 0x108]
push esi
call fcn.004010e0
lea ecx, [ebp - 0x34]
call fcn.004181b2
push ebx
lea ecx, [ebp - 0xb0]
push esi
call fcn.004010e0
push ebx
lea ecx, [ebp - 0xcc]
push esi
call fcn.004010e0
push dword [ebp - 0x20]
call fcn.0044e56d
push dword [ebp - 0x1c]
call fcn.0044e56d
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004181b2
lea ecx, [ebp - 0x18]
call fcn.004181b2
push ebx
lea ecx, [ebp - 0x94]
push esi
call fcn.004010e0
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.004010e0
push dword [ebp - 0x14]
call fcn.0044e56d
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4