Function at 0x420fc0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x46e417
mov eax, dword fs:[0]
push eax
mov eax, 0x132c
call fcn.00454980
mov eax, dword [0x488900]
xor eax, esp
mov dword [esp + 0x1328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x488900]
xor eax, esp
push eax
lea eax, [esp + 0x1340]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1350]
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [esp + 0x1348], ebx
xor ecx, ecx
mov word [esp + 0x11c], cx
mov ecx, eax
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x421036
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x11c]
call fcn.00405bc0
mov byte [esp + 0x1348], 1
lea ebp, [edi + 0x30]
lea ecx, [ecx]
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x421077
push eax
call fcn.0043438d
add esp, 4
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x58], ebx
mov edx, dword [edi + 0x4c]
push 0xffffffffffffffff
lea esi, [edi + 0x14]
push ebx
lea eax, [esp + 0x120]
mov ecx, esi
mov dword [edi + 0x7c], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edx
call fcn.00405da0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x135c]
mov ecx, ebp
call fcn.00405da0
cmp dword [edi + 0x44], ebx
jne 0x421153
mov ebx, 1
mov eax, esi
call fcn.004223d0
mov edi, eax
cmp edi, 0xffffffff
je 0x421148
lea edx, [edi + 1]
mov ecx, esi
lea eax, [esp + 0x2c]
call fcn.0042a550
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x1350], 2
call fcn.00405da0
mov byte [esp + 0x1348], bl
mov ebx, 8
cmp dword [esp + 0x44], ebx
jb 0x42110d
mov eax, dword [esp + 0x30]
push eax
call fcn.0043438d
add esp, 4
mov ecx, edi
mov edx, esi
lea eax, [esp + 0x2c]
call fcn.0042a4f0
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x1350], 3
call fcn.00405da0
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebx
jb 0x421148
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043438d
add esp, 4
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edx + 0x44], ebx
je 0x42115b
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
add eax, 0xc
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x421183
mov dword [esp + 0x20], 1
lea ebp, [eax + 8]
lea edi, [eax + 7]
jmp 0x421d9a
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
xor edx, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
mov dword [esp + 0xc0], eax
xor eax, eax
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x54]
lea edi, [esp + 0x5c]
mov ecx, esi
mov byte [esp + 0x1354], 6
call fcn.0041fb80
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1348], 7
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x42124a
mov ecx, ebp
lea esi, [esp + 0x2c]
call fcn.0041ee60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 8
call fcn.00402080
cmp dword [esp + 0x44], 0x10
jb 0x421285
mov edx, dword [esp + 0x30]
push edx
jmp 0x42127d
cmp eax, 1
jne 0x421285
push ebp
lea edi, [esp + 0x30]
call fcn.0041e6f0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 9
call fcn.00402080
cmp dword [esp + 0x44], 0x10
jb 0x421285
mov eax, dword [esp + 0x30]
push eax
call fcn.0043438d
add esp, 4
push ebx
push ebx
push ebx
push ebx
push 0x476644
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x4c], ebp
cmp ebp, ebx
jne 0x42136e
cmp dword [esp + 0x6c], 0x10
jb 0x4212b6
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043438d
add esp, 4
mov edi, 8
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x4212e4
mov edx, dword [esp + 0xac]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], edi
jb 0x42131a
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], edi
jb 0x421350
mov eax, dword [esp + 0x74]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov ebp, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
mov edi, esi
jmp 0x421d8b
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
add esi, 0xc
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42145c
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x4213a4
mov eax, dword [esp + 0x58]
push eax
call fcn.0043438d
add esp, 4
mov edi, 8
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x4213d2
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], dx
cmp dword [esp + 0xa4], edi
jb 0x421408
mov eax, dword [esp + 0x90]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
cmp dword [esp + 0x88], edi
jb 0x42143e
mov edx, dword [esp + 0x74]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov ebp, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov edi, esi
jmp 0x421d8b
mov eax, dword [esp + 0x74]
mov edi, 8
cmp dword [esp + 0x88], edi
jae 0x421472
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x50]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x421558
cmp dword [esp + 0x6c], 0x10
jb 0x4214a5
mov edx, dword [esp + 0x58]
push edx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x4214ce
mov eax, dword [esp + 0xac]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
cmp dword [esp + 0xa4], edi
jb 0x421504
mov edx, dword [esp + 0x90]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], edi
jb 0x42153a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov ebp, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
mov edi, esi
jmp 0x421d7c
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x421639
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x421586
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x4215af
mov edx, dword [esp + 0xac]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], edi
jb 0x4215e5
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], edi
jb 0x42161b
mov eax, dword [esp + 0x74]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov ebp, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
mov edi, esi
jmp 0x421d7c
xor edx, edx
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], dx
mov byte [esp + 0x1348], 0xa
lea esi, [esp + 0xc4]
cmp dword [esp + 0x1c], ebx
jne 0x421673
push 3
mov eax, 0x476628
jmp 0x42167a
push 4
mov eax, 0x476630
call fcn.00405bc0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edi, [esp + 0xe8]
call fcn.00422980
add esp, 8
mov byte [esp + 0x1348], 0xb
cmp dword [esp + 0x48], 4
mov eax, 0x80400002
jne 0x4216b7
mov eax, 0x80c00002
mov edx, dword [esp + 0xe4]
mov ebp, 8
cmp dword [esp + 0xf8], ebp
jae 0x4216d3
lea edx, [esp + 0xe4]
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebp
jae 0x4216ea
lea ecx, [esp + 0xc8]
push ebx
push eax
push ebx
push ebx
push ebx
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x421826
cmp dword [esp + 0xf8], ebp
jb 0x421721
mov eax, dword [esp + 0xe4]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov edi, 7
mov word [esp + 0xe4], cx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], edi
cmp dword [esp + 0xdc], ebp
jb 0x421757
mov edx, dword [esp + 0xc8]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], 0x10
mov word [esp + 0xc8], ax
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edi
jb 0x421783
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043438d
add esp, 4
mov byte [esp + 0x58], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xf
cmp dword [esp + 0xc0], ebp
jb 0x4217ac
mov edx, dword [esp + 0xac]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov word [esp + 0xac], ax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
cmp dword [esp + 0xa4], ebp
jb 0x4217dd
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], ebp
jb 0x421813
mov eax, dword [esp + 0x74]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], edi
mov word [esp + 0x74], cx
jmp 0x421d66
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
add eax, 0xc
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x421849
mov dword [esp + 0x20], 1
jmp 0x421708
xor edx, edx
mov edi, 7
push 0x31
mov eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea esi, [esp + 0x100]
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], dx
call fcn.00405bc0
mov byte [esp + 0x1348], 0xc
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x114], ebp
jae 0x421898
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0x110]
mov esi, dword [esp + 0x1c]
push 0x20000000
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x4219fc
cmp dword [esp + 0x114], ebp
jb 0x4218d2
mov edx, dword [esp + 0x100]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], ax
cmp dword [esp + 0xf8], ebp
jb 0x421903
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], dx
cmp dword [esp + 0xdc], ebp
jb 0x421934
mov eax, dword [esp + 0xc8]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
jb 0x421960
mov edx, dword [esp + 0x58]
push edx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], ebp
jb 0x421989
mov eax, dword [esp + 0xac]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov word [esp + 0xac], cx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
cmp dword [esp + 0xa4], ebp
jb 0x4219ba
mov edx, dword [esp + 0x90]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], ebp
jb 0x4219f0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x88], edi
jmp 0x421d5f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xcc], ebx
je 0x421a66
cmp dword [eax + 0xd0], ebp
jb 0x421a18
mov eax, dword [eax + 0xbc]
jmp 0x421a1d
add eax, 0xbc
push eax
push str.Referer:__s_r_n
lea ecx, [esp + 0x104]
call fcn.0042a5b0
mov eax, dword [esp + 0x108]
add esp, 8
cmp dword [esp + 0x114], ebp
jae 0x421a49
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0x110]
push 0x20000000
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x4218b9
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x421a75
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x68]
push ecx
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4218b9
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x13c]
push edx
push 5
xor eax, eax
mov edi, 0x104
push ebp
mov word [esp + 0x148], ax
mov dword [esp + 0x28], edi
call esi
test eax, eax
je 0x421ae3
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x134]
push edx
xor eax, eax
push str.Content_length:__s__n
mov word [esp + ecx*2 + 0x13c], ax
call fcn.00453086
add esp, 8
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x13c]
push ecx
push 0x13
push ebp
mov dword [esp + 0x28], edi
call esi
test eax, eax
je 0x421b44
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x134]
push ecx
xor edx, edx
push str.Status_code:__s__n
mov word [esp + eax*2 + 0x13c], dx
call fcn.00453086
lea edx, [esp + 0x13c]
push edx
call fcn.00453161
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [ecx + 0x7c], eax
cmp eax, 0xc8
jne 0x421b44
mov dword [esp + 0x24], 1
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x13c]
push eax
push 0x14
push ebp
mov dword [esp + 0x28], edi
call esi
test eax, eax
je 0x421b82
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x134]
push eax
xor ecx, ecx
push str.Status_text:__s__n
mov word [esp + edx*2 + 0x13c], cx
call fcn.00453086
add esp, 8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x344]
push edx
push eax
xor ebp, ebp
mov dword [esp + 0x24], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x421c13
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x421c13
mov esi, dword [esp + 0x18]
lea edi, [eax + ebp]
add esi, 0x54
call fcn.00422810
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x5c]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x340]
push ecx
add eax, ebp
push eax
call fcn.00458fd0
mov ecx, dword [esp + 0x28]
add ebp, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x344]
push eax
push ecx
mov dword [esp + 0x24], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x421bb0
mov edi, 8
cmp dword [esp + 0x114], edi
jb 0x421c31
mov edx, dword [esp + 0x100]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], ax
cmp dword [esp + 0xf8], edi
jb 0x421c67
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], dx
cmp dword [esp + 0xdc], edi
jb 0x421c98
mov eax, dword [esp + 0xc8]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
jb 0x421cc4
mov edx, dword [esp + 0x58]
push edx
call fcn.0043438d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x421ced
mov eax, dword [esp + 0xac]
push eax
call fcn.0043438d
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
cmp dword [esp + 0xa4], edi
jb 0x421d1e
mov edx, dword [esp + 0x90]
push edx
call fcn.0043438d
add esp, 4
xor eax, eax
mov byte [esp + 0x1348], 1
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], edi
jb 0x421d54
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043438d
add esp, 4
mov ebp, edi
mov dword [esp + 0x88], esi
mov edi, esi
xor edx, edx
mov word [esp + 0x74], dx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], ebx
cmp eax, ebx
je 0x421d7c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x421d8b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x421d9a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x421e1e
cmp dword [esp + 0x20], ebx
jne 0x421e1e
mov esi, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx]
add eax, 0xc
push eax
cmp esi, ebx
sete al
movzx eax, al
push eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
call edx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x120]
mov byte [esp + 0x1350], 0xd
call fcn.00405da0
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebp
jb 0x421dfe
mov eax, dword [esp + 0x30]
push eax
call fcn.0043438d
add esp, 4
cmp dword [esp + 0x12c], ebx
je 0x421e22
mov ebp, dword [esp + 0x18]
add ebp, 0x30
mov edi, ebp
call fcn.00422080
mov edi, dword [esp + 0x18]
jmp 0x421060
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x130], ebp
jb 0x421e3b
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0043438d
add esp, 4
xor edx, edx
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], dx
cmp dword [esp + 0x136c], ebp
jb 0x421e6c
mov eax, dword [esp + 0x1358]
push eax
call fcn.0043438d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1328]
xor ecx, esp
call fcn.00452675
add esp, 0x1338
ret 0x20