Function at 0x41c670
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 0x460977
mov eax, dword fs:[0]
push eax
mov eax, 0x132c
call fcn.00448250
mov eax, dword [0x479920]
xor eax, esp
mov dword [esp + 0x1328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x479920]
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 0x41c6e6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x11c]
call fcn.004047d0
mov byte [esp + 0x1348], 1
lea ebp, [edi + 0x2c]
lea ecx, [ecx]
mov eax, dword [edi + 0x58]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x41c727
push eax
call fcn.0042801d
add esp, 4
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebx
mov edx, dword [edi + 0x48]
push 0xffffffffffffffff
lea esi, [edi + 0x10]
push ebx
lea eax, [esp + 0x120]
mov ecx, esi
mov dword [edi + 0x68], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edx
call fcn.004048e0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x135c]
mov ecx, ebp
call fcn.004048e0
cmp dword [edi + 0x40], ebx
jne 0x41c803
mov ebx, 1
mov eax, esi
call fcn.0041d7f0
mov edi, eax
cmp edi, 0xffffffff
je 0x41c7f8
lea edx, [edi + 1]
mov ecx, esi
lea eax, [esp + 0x2c]
call fcn.00424050
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x1350], 2
call fcn.004048e0
mov byte [esp + 0x1348], bl
mov ebx, 8
cmp dword [esp + 0x44], ebx
jb 0x41c7bd
mov eax, dword [esp + 0x30]
push eax
call fcn.0042801d
add esp, 4
mov ecx, edi
mov edx, esi
lea eax, [esp + 0x2c]
call fcn.00424020
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x1350], 3
call fcn.004048e0
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebx
jb 0x41c7f8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0042801d
add esp, 4
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edx + 0x40], ebx
je 0x41c80b
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
add eax, 8
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41c833
mov dword [esp + 0x20], 1
lea ebp, [eax + 8]
lea edi, [eax + 7]
jmp 0x41d44b
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.0041c520
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 + 4]
cmp eax, ebx
jne 0x41c8fa
mov edi, ebp
lea esi, [esp + 0x2c]
call fcn.0041be60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 8
call fcn.00401d30
cmp dword [esp + 0x44], 0x10
jb 0x41c935
mov edx, dword [esp + 0x30]
push edx
jmp 0x41c92d
cmp eax, 1
jne 0x41c935
push ebp
lea edi, [esp + 0x30]
call fcn.0041b720
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1354], 9
call fcn.00401d30
cmp dword [esp + 0x44], 0x10
jb 0x41c935
mov eax, dword [esp + 0x30]
push eax
call fcn.0042801d
add esp, 4
push ebx
push ebx
push ebx
push ebx
push 0x468634
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x4c], edi
cmp edi, ebx
jne 0x41ca1e
cmp dword [esp + 0x6c], 0x10
jb 0x41c966
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042801d
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 0x41c994
mov edx, dword [esp + 0xac]
push edx
call fcn.0042801d
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 0x41c9ca
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042801d
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 0x41ca00
mov eax, dword [esp + 0x74]
push eax
call fcn.0042801d
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 0x41d43c
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 8
push ebx
push edx
call ebp
test eax, eax
jne 0x41cb0e
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x41ca56
mov eax, dword [esp + 0x58]
push eax
call fcn.0042801d
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 0x41ca84
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042801d
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 0x41caba
mov eax, dword [esp + 0x90]
push eax
call fcn.0042801d
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 0x41caf0
mov edx, dword [esp + 0x74]
push edx
call fcn.0042801d
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 0x41d43c
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x41cb20
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x50]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x41cc0b
cmp dword [esp + 0x6c], 0x10
jb 0x41cb53
mov edx, dword [esp + 0x58]
push edx
call fcn.0042801d
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 0x41cb81
mov eax, dword [esp + 0xac]
push eax
call fcn.0042801d
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 0x41cbb7
mov edx, dword [esp + 0x90]
push edx
call fcn.0042801d
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 0x41cbed
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042801d
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 0x41d42d
mov eax, dword [esi]
push ebx
push eax
call ebp
test eax, eax
jne 0x41cced
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x20], 1
jb 0x41cc35
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042801d
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 0x41cc63
mov edx, dword [esp + 0xac]
push edx
call fcn.0042801d
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 0x41cc99
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042801d
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 0x41cccf
mov eax, dword [esp + 0x74]
push eax
call fcn.0042801d
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 0x41d42d
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 0x41cd27
push 3
mov eax, 0x468618
jmp 0x41cd2e
push 4
mov eax, str.POST
call fcn.004047d0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edi, [esp + 0xe8]
call fcn.0041d9d0
add esp, 8
mov byte [esp + 0x1348], 0xb
cmp dword [esp + 0x48], 4
mov eax, 0x80400002
jne 0x41cd6b
mov eax, 0x80c00002
mov edx, dword [esp + 0xe4]
mov ebp, 8
cmp dword [esp + 0xf8], ebp
jae 0x41cd87
lea edx, [esp + 0xe4]
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebp
jae 0x41cd9e
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 0x41ceda
cmp dword [esp + 0xf8], ebp
jb 0x41cdd5
mov eax, dword [esp + 0xe4]
push eax
call fcn.0042801d
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 0x41ce0b
mov edx, dword [esp + 0xc8]
push edx
call fcn.0042801d
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 0x41ce37
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042801d
add esp, 4
mov byte [esp + 0x58], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xf
cmp dword [esp + 0xc0], ebp
jb 0x41ce60
mov edx, dword [esp + 0xac]
push edx
call fcn.0042801d
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 0x41ce91
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042801d
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 0x41cec7
mov eax, dword [esp + 0x74]
push eax
call fcn.0042801d
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], edi
mov word [esp + 0x74], cx
jmp 0x41d417
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
add eax, 8
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41cefd
mov dword [esp + 0x20], 1
jmp 0x41cdbc
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.004047d0
mov byte [esp + 0x1348], 0xc
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x114], ebp
jae 0x41cf4c
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 0x41d0b0
cmp dword [esp + 0x114], ebp
jb 0x41cf86
mov edx, dword [esp + 0x100]
push edx
call fcn.0042801d
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 0x41cfb7
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0042801d
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 0x41cfe8
mov eax, dword [esp + 0xc8]
push eax
call fcn.0042801d
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 0x41d014
mov edx, dword [esp + 0x58]
push edx
call fcn.0042801d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], ebp
jb 0x41d03d
mov eax, dword [esp + 0xac]
push eax
call fcn.0042801d
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 0x41d06e
mov edx, dword [esp + 0x90]
push edx
call fcn.0042801d
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 0x41d0a4
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042801d
add esp, 4
mov dword [esp + 0x88], edi
jmp 0x41d410
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xb8], ebx
je 0x41d11a
cmp dword [eax + 0xbc], ebp
jb 0x41d0cc
mov eax, dword [eax + 0xa8]
jmp 0x41d0d1
add eax, 0xa8
push eax
push str.Referer:__s_r_n
lea ecx, [esp + 0x104]
call fcn.004240b0
mov eax, dword [esp + 0x108]
add esp, 8
cmp dword [esp + 0x114], ebp
jae 0x41d0fd
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 0x41cf6d
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x41d129
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 0x41cf6d
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 0x41d197
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.00446d1b
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 0x41d1f8
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.00446d1b
lea edx, [esp + 0x13c]
push edx
call fcn.00446e1c
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [ecx + 0x68], eax
cmp eax, 0xc8
jne 0x41d1f8
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 0x41d236
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.00446d1b
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 0x41d2c4
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x41d2c4
mov esi, dword [esp + 0x18]
lea edi, [eax + ebp]
add esi, 0x50
call fcn.0041d980
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x58]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x340]
push ecx
add eax, ebp
push eax
call fcn.0044c8b0
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 0x41d261
mov edi, 8
cmp dword [esp + 0x114], edi
jb 0x41d2e2
mov edx, dword [esp + 0x100]
push edx
call fcn.0042801d
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 0x41d318
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0042801d
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 0x41d349
mov eax, dword [esp + 0xc8]
push eax
call fcn.0042801d
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 0x41d375
mov edx, dword [esp + 0x58]
push edx
call fcn.0042801d
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xc0], edi
jb 0x41d39e
mov eax, dword [esp + 0xac]
push eax
call fcn.0042801d
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 0x41d3cf
mov edx, dword [esp + 0x90]
push edx
call fcn.0042801d
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 0x41d405
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042801d
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 0x41d42d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x41d43c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x41d44b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x41d4cf
cmp dword [esp + 0x20], ebx
jne 0x41d4cf
mov esi, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx]
add eax, 8
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.004048e0
mov byte [esp + 0x1348], 1
cmp dword [esp + 0x44], ebp
jb 0x41d4af
mov eax, dword [esp + 0x30]
push eax
call fcn.0042801d
add esp, 4
cmp dword [esp + 0x12c], ebx
je 0x41d4d3
mov ebp, dword [esp + 0x18]
add ebp, 0x2c
mov edi, ebp
call fcn.0041d620
mov edi, dword [esp + 0x18]
jmp 0x41c710
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x130], ebp
jb 0x41d4ec
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0042801d
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 0x41d51d
mov eax, dword [esp + 0x1358]
push eax
call fcn.0042801d
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.00446330
add esp, 0x1338
ret 0x20