Function at 0x418240
Capabilities:
Check if file exists
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d27c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp + 8]
lea ebx, [ecx + 0x20]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x254], eax
mov eax, dword [ebx]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], ebx
cmp dword [eax - 0xc], 0
je 0x418458
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x250], ecx
cmp dword [eax - 0xc], 0
jne 0x4182c0
push 3
push 0x494508
call fcn.004069d0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x419058
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x419062
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x24c], edi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c4], xmm0
mov ecx, 1
mov dword [ebp - 0x2bc], 0
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x2a0], 0
movlpd qword [ebp - 0x294], xmm0
mov dword [ebp - 0x2c8], 0x3c
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x418370
push 0x104
lea ecx, [ebp - 0x238]
call fcn.00406b80
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x2b8], esi
mov ecx, 1
mov dword [ebp - 0x2b4], 0x104
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4183aa
push 0x400
lea ecx, [ebp - 0x24c]
call fcn.00406b80
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x29c], edi
push eax
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x298], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.0045d623
add esp, 8
test eax, eax
js 0x41904e
cmp eax, dword [esi - 8]
jg 0x41904e
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [edi - 8]
push edi
call fcn.0045d623
add esp, 8
test eax, eax
js 0x41904e
cmp eax, dword [edi - 8]
jg 0x41904e
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
test ebx, ebx
jne 0x418490
add edi, 0xfffffff0
mov byte [ebp - 4], cl
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41843c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418458
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x254]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x22c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x270], xmm0
or ebx, 0xffffffff
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x418957
mov eax, dword [0x4a5d04]
cmp eax, ebx
jne 0x41851b
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.full.data
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov dword [0x4a5d04], eax
xor ecx, ecx
mov edx, str.full.data
cmp eax, 1
setne cl
mov dword [ebp - 0x274], ecx
push ecx
lea ecx, [ebp - 0x224]
call fcn.00419930
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x224]
test eax, eax
mov eax, ebx
sete byte [ebp - 0x231]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41856b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x231], 0
je 0x4188ce
mov ebx, dword [0x4aa5a0]
mov dword [ebp - 0x23c], ebx
test ebx, ebx
jne 0x4185e2
push 0x4c
call fcn.004551d2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x228], ebx
lea ecx, [ebx + 4]
mov dword [ebx], 0
push 0xfa0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea ecx, [ebx + 0x1c]
call fcn.0042bee0
lea ecx, [ebx + 0x2c]
call fcn.0042bee0
lea ecx, [ebx + 0x3c]
call fcn.0042bee0
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0042bf50
mov byte [ebp - 4], 1
mov dword [0x4aa5a0], ebx
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x23c]
mov ebx, dword [ebx]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042c3b0
cmp ebx, 2
mov ebx, eax
lea eax, [ebx + 4]
push eax
jne 0x4188a1
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x284]
call fcn.0042c300
lea eax, [ebx + 4]
mov dword [ebp - 0x244], 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov byte [ebp - 4], 7
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x41906c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x220]
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
push 0x494678
push eax
call fcn.00407700
mov eax, dword [ebp - 0x22c]
add esp, 0x10
push 0
push 0
push dword [ebp - 0x220]
push 3
push dword [eax + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x230], eax
test eax, eax
jne 0x4186e2
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x284]
call fcn.00417890
mov byte [ebp - 4], 0
add edi, 0xfffffff0
jmp 0x418428
mov ebx, dword [ebp - 0x284]
mov ecx, 0x492e10
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418716
test dx, dx
je 0x418712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418716
add eax, 4
add ecx, 4
test dx, dx
jne 0x4186f0
xor eax, eax
jmp 0x41871b
sbb eax, eax
or eax, 1
test eax, eax
je 0x418739
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebp - 0x230]
add eax, eax
push eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0x1c
push ecx
call ebx
jmp 0x41873f
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x280]
mov ecx, 0x492e10
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418776
test dx, dx
je 0x418772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418776
add eax, 4
add ecx, 4
test dx, dx
jne 0x418750
xor eax, eax
jmp 0x41877b
sbb eax, eax
or eax, 1
test eax, eax
je 0x418796
mov ecx, dword [ebp - 0x280]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 0x1d
push dword [ebp - 0x230]
call ebx
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x220]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4187ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 1
call fcn.00417890
push 8
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 1
push eax
push 0x32
push 0
mov dword [ebp - 0x288], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x22c]
add eax, 0x40
cmp dword [eax], 0xffffffff
je 0x41880f
push 4
push eax
push 2
push dword [ebp - 0x230]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x2b0]
push esi
push dword [ebp - 0x230]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x41890d
mov ecx, dword [ebp - 0x248]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x41897f
push 5
lea eax, [ebp - 0x224]
push eax
call fcn.00412810
or dword [ebp - 0x244], 1
mov ecx, str.https
mov eax, dword [eax]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41896c
test dx, dx
je 0x41889a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41896c
add eax, 4
add ecx, 4
test dx, dx
jne 0x418870
xor eax, eax
jmp 0x418971
mov dword [ebp - 0x224], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
push dword [ebp - 0x224]
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebx]
call eax
test ebx, ebx
je 0x4188cb
mov dword [ebp - 0x274], 0
or ebx, 0xffffffff
mov eax, dword [ebp - 0x22c]
push 0
push 0
push 0
push 0
push dword [eax + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x4186d6
push 0xc
lea ecx, [ebp - 0x274]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4187c9
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418928
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418944
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x230]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x418458
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x274], 3
jmp 0x4188ce
sbb eax, eax
or eax, 1
mov dword [ebp - 0x220], 1
test eax, eax
je 0x418989
mov dword [ebp - 0x220], 0
test byte [ebp - 0x244], 1
je 0x4189af
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4189af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x220], 0
mov ecx, 0xc81000
push 1
mov eax, 0x680000
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0x250]
push 0
push 0
push 0
push edi
push dword [eax]
push dword [ebp - 0x23c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x418a3c
mov byte [ebp - 4], al
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418a05
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418a21
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x23c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x230]
call esi
jmp 0x418458
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ecx + 0x28]
call fcn.00417cd0
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 9
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov ecx, 0
sub edx, eax
push edx
cmovne ecx, eax
mov eax, dword [ebp - 0x240]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x418ae3
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418aa8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418ac3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41902b
mov ecx, dword [esi]
push esi
jmp 0x419026
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x3c], 0
je 0x418c3a
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x419076
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 0xa
mov ecx, 1
mov dword [ebp - 0x25c], 0x100
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x418b48
push 0x100
lea ecx, [ebp - 0x250]
call fcn.00406b80
mov esi, dword [ebp - 0x250]
push 0
lea eax, [ebp - 0x25c]
push eax
push esi
push 0x13
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [esi - 8]
mov dword [ebp - 0x224], eax
push esi
call fcn.0045d623
add esp, 8
test eax, eax
js 0x41904e
cmp eax, dword [esi - 8]
jg 0x41904e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x224], ecx
jne 0x418bef
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418baf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x419009
mov ecx, dword [edi]
push edi
jmp 0x419004
push esi
call fcn.0045f41d
add esp, 4
cmp eax, 0x12d
je 0x418d8a
cmp eax, 0x12e
je 0x418d8a
cmp eax, 0x12f
je 0x418d8a
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418c34
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x238]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418c5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418c76
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418c92
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.004551d2
mov ecx, dword [ebp - 0x230]
add esp, 4
mov ebx, dword [ebp - 0x22c]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp - 0x228]
push eax
call fcn.00419330
push 4
call fcn.004551d2
mov ecx, dword [ebp - 0x23c]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebx + 8]
push dword [ebp - 0x228]
push eax
call fcn.00419330
push 4
call fcn.004551d2
mov ecx, dword [ebp - 0x220]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebx + 0x10]
push dword [ebp - 0x228]
push eax
call fcn.00419330
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x418d17
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x10]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x418d3f
lock inc dword [eax + 4]
mov eax, dword [ebx + 8]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x418d67
lock inc dword [eax + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x254]
call fcn.00417630
mov eax, dword [ebp - 0x254]
add esp, 0x18
jmp 0x418472
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x419080
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 0xb
mov ecx, 1
mov dword [ebp - 0x260], 0x400
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x418ddf
push 0x400
lea ecx, [ebp - 0x224]
call fcn.00406b80
mov edi, dword [ebp - 0x224]
push 0
lea eax, [ebp - 0x260]
push eax
push edi
push 0x21
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [edi - 8]
mov dword [ebp - 0x258], eax
push edi
call fcn.0045d623
add esp, 8
test eax, eax
js 0x41904e
cmp eax, dword [edi - 8]
jg 0x41904e
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x258], ecx
je 0x418f91
cmp dword [edi - 0xc], ecx
je 0x418f91
mov ecx, dword [ebp - 0x248]
lea edx, [edi - 0x10]
mov dword [ebp - 0x228], edx
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x264], ecx
cmp edx, ecx
je 0x418ebd
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [edi - 0xc]
jl 0x418eb0
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x418ead
mov ecx, edx
call fcn.00406910
mov dword [ebp - 0x268], eax
mov ecx, ebx
mov eax, dword [ebp - 0x258]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418e9a
mov edi, dword [ebp - 0x264]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x268]
add eax, 0x10
mov dword [ecx], eax
jmp 0x418ebd
mov eax, dword [edi - 0xc]
mov ecx, dword [ebp - 0x248]
push eax
push edi
call fcn.004069d0
push dword [ebp - 0x220]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x23c]
call edi
push dword [ebp - 0x230]
call edi
mov edi, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x22c]
push edi
call fcn.00418240
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x228]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418f0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418f26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418f47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418f68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418f8a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x418472
mov byte [ebp - 4], 0xa
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418fac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418fc7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418fe8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419009
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41902b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x23c]
call esi
push dword [ebp - 0x230]
call esi
jmp 0x418458
push 0x80070057
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3