Function at 0x41fc80
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 0x46eb57
mov eax, dword fs:[0]
push eax
mov eax, 0x132c
call fcn.00454ff0
mov eax, dword [0x489900]
xor eax, esp
mov dword [esp + 0x1328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489900]
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 0x41fcf6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x11c]
call fcn.00405220
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 0x41fd37
push eax
call fcn.00434a28
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.00405400
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x135c]
mov ecx, ebp
call fcn.00405400
cmp dword [edi + 0x44], ebx
jne 0x41fe13
mov ebx, 1
mov eax, esi
call fcn.00421090
mov edi, eax
cmp edi, 0xffffffff
je 0x41fe08
lea edx, [edi + 1]
mov ecx, esi
lea eax, [esp + 0x2c]
call fcn.00429140
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x1350], 2
call fcn.00405400
mov byte [esp + 0x1348], bl
mov ebx, 8
cmp dword [esp + 0x44], ebx
jb 0x41fdcd
mov eax, dword [esp + 0x30]
push eax
call fcn.00434a28
add esp, 4
mov ecx, edi
mov edx, esi
lea eax, [esp + 0x2c]
call fcn.004290e0
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x1350], 3
call fcn.00405400
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebx
jb 0x41fe08
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00434a28
add esp, 4
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edx + 0x44], ebx
je 0x41fe1b
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 0x41fe43
mov dword [esp + 0x20], 1
lea ebp, [eax + 8]
lea edi, [eax + 7]
jmp 0x420a5a
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.0041e840
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 0x41ff0a
mov ecx, ebp
lea esi, [esp + 0x2c]
call fcn.0041db00
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 8
call fcn.00402050
cmp dword [esp + 0x44], 0x10
jb 0x41ff45
mov edx, dword [esp + 0x30]
push edx
jmp 0x41ff3d
cmp eax, 1
jne 0x41ff45
push ebp
lea edi, [esp + 0x30]
call fcn.0041d390
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 9
call fcn.00402050
cmp dword [esp + 0x44], 0x10
jb 0x41ff45
mov eax, dword [esp + 0x30]
push eax
call fcn.00434a28
add esp, 4
push ebx
push ebx
push ebx
push ebx
push 0x477654
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x4c], ebp
cmp ebp, ebx
jne 0x42002e
cmp dword [esp + 0x6c], 0x10
jb 0x41ff76
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00434a28
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 0x41ffa4
mov edx, dword [esp + 0xac]
push edx
call fcn.00434a28
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 0x41ffda
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00434a28
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 0x420010
mov eax, dword [esp + 0x74]
push eax
call fcn.00434a28
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 0x420a4b
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 0x42011c
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x420064
mov eax, dword [esp + 0x58]
push eax
call fcn.00434a28
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 0x420092
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00434a28
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 0x4200c8
mov eax, dword [esp + 0x90]
push eax
call fcn.00434a28
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 0x4200fe
mov edx, dword [esp + 0x74]
push edx
call fcn.00434a28
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 0x420a4b
mov eax, dword [esp + 0x74]
mov edi, 8
cmp dword [esp + 0x88], edi
jae 0x420132
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 0x420218
cmp dword [esp + 0x6c], 0x10
jb 0x420165
mov edx, dword [esp + 0x58]
push edx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x42018e
mov eax, dword [esp + 0xac]
push eax
call fcn.00434a28
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 0x4201c4
mov edx, dword [esp + 0x90]
push edx
call fcn.00434a28
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 0x4201fa
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00434a28
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 0x420a3c
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4202f9
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x420246
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x42026f
mov edx, dword [esp + 0xac]
push edx
call fcn.00434a28
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 0x4202a5
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00434a28
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 0x4202db
mov eax, dword [esp + 0x74]
push eax
call fcn.00434a28
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 0x420a3c
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 0x420333
push 3
mov eax, 0x477638
jmp 0x42033a
push 4
mov eax, 0x477640
call fcn.00405220
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edi, [esp + 0xe8]
call fcn.00421640
add esp, 8
mov byte [esp + 0x1348], 0xb
cmp dword [esp + 0x48], 4
mov eax, 0x80400002
jne 0x420377
mov eax, 0x80c00002
mov edx, dword [esp + 0xe4]
mov ebp, 8
cmp dword [esp + 0xf8], ebp
jae 0x420393
lea edx, [esp + 0xe4]
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebp
jae 0x4203aa
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 0x4204e6
cmp dword [esp + 0xf8], ebp
jb 0x4203e1
mov eax, dword [esp + 0xe4]
push eax
call fcn.00434a28
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 0x420417
mov edx, dword [esp + 0xc8]
push edx
call fcn.00434a28
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 0x420443
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00434a28
add esp, 4
mov byte [esp + 0x58], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xf
cmp dword [esp + 0xc0], ebp
jb 0x42046c
mov edx, dword [esp + 0xac]
push edx
call fcn.00434a28
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 0x42049d
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00434a28
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 0x4204d3
mov eax, dword [esp + 0x74]
push eax
call fcn.00434a28
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], edi
mov word [esp + 0x74], cx
jmp 0x420a26
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 0x420509
mov dword [esp + 0x20], 1
jmp 0x4203c8
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.00405220
mov byte [esp + 0x1348], 0xc
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x114], ebp
jae 0x420558
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 0x4206bc
cmp dword [esp + 0x114], ebp
jb 0x420592
mov edx, dword [esp + 0x100]
push edx
call fcn.00434a28
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 0x4205c3
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00434a28
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 0x4205f4
mov eax, dword [esp + 0xc8]
push eax
call fcn.00434a28
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 0x420620
mov edx, dword [esp + 0x58]
push edx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], ebp
jb 0x420649
mov eax, dword [esp + 0xac]
push eax
call fcn.00434a28
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 0x42067a
mov edx, dword [esp + 0x90]
push edx
call fcn.00434a28
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 0x4206b0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x88], edi
jmp 0x420a1f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xcc], ebx
je 0x420726
cmp dword [eax + 0xd0], ebp
jb 0x4206d8
mov eax, dword [eax + 0xbc]
jmp 0x4206dd
add eax, 0xbc
push eax
push str.Referer:__s_r_n
lea ecx, [esp + 0x104]
call fcn.004291a0
mov eax, dword [esp + 0x108]
add esp, 8
cmp dword [esp + 0x114], ebp
jae 0x420709
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 0x420579
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x420735
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 0x420579
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 0x4207a3
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.00454657
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 0x420804
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.00454657
lea edx, [esp + 0x13c]
push edx
call fcn.0045371c
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [ecx + 0x7c], eax
cmp eax, 0xc8
jne 0x420804
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 0x420842
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.00454657
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 0x4208d3
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x4208d3
mov esi, dword [esp + 0x18]
lea edi, [eax + ebp]
add esi, 0x54
call fcn.004214d0
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.00459640
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 0x420870
mov edi, 8
cmp dword [esp + 0x114], edi
jb 0x4208f1
mov edx, dword [esp + 0x100]
push edx
call fcn.00434a28
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 0x420927
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00434a28
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 0x420958
mov eax, dword [esp + 0xc8]
push eax
call fcn.00434a28
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 0x420984
mov edx, dword [esp + 0x58]
push edx
call fcn.00434a28
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x4209ad
mov eax, dword [esp + 0xac]
push eax
call fcn.00434a28
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 0x4209de
mov edx, dword [esp + 0x90]
push edx
call fcn.00434a28
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 0x420a14
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00434a28
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 0x420a3c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x420a4b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x420a5a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x420ade
cmp dword [esp + 0x20], ebx
jne 0x420ade
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.00405400
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebp
jb 0x420abe
mov eax, dword [esp + 0x30]
push eax
call fcn.00434a28
add esp, 4
cmp dword [esp + 0x12c], ebx
je 0x420ae2
mov ebp, dword [esp + 0x18]
add ebp, 0x30
mov edi, ebp
call fcn.00420d40
mov edi, dword [esp + 0x18]
jmp 0x41fd20
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x130], ebp
jb 0x420afb
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.00434a28
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 0x420b2c
mov eax, dword [esp + 0x1358]
push eax
call fcn.00434a28
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.00452cf5
add esp, 0x1338
ret 0x20