Function at 0x1003ffe0
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 0x1007464c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x10089040]
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 ebx, ecx
mov dword [ebp - 0x23c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x230], eax
lea eax, [ebx + 0x20]
mov dword [ebp - 0x24c], eax
mov eax, dword [eax]
mov dword [ebp - 0x258], 0
cmp dword [eax - 0xc], 0
je 0x10040203
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x234], ecx
cmp dword [eax - 0xc], 0
jne 0x10040062
push 3
push 0x1007fb18
call fcn.10005d10
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040bfa
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x22c], edi
mov dword [ebp - 4], 0
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040c04
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov ecx, 1
mov dword [ebp - 0x2a8], 0
movlpd qword [ebp - 0x29c], xmm0
movlpd qword [ebp - 0x294], xmm0
mov dword [ebp - 0x28c], 0
movlpd qword [ebp - 0x280], xmm0
mov dword [ebp - 0x2b4], 0x3c
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10040112
push 0x104
lea ecx, [ebp - 0x22c]
call fcn.10005cb0
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x2a4], edi
mov ecx, 1
mov dword [ebp - 0x2a0], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x1004014c
push 0x400
lea ecx, [ebp - 0x228]
call fcn.10005cb0
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x288], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x284], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x224], eax
push edi
call fcn.1004e680
add esp, 8
test eax, eax
js 0x10040bf0
cmp eax, dword [edi - 8]
jg 0x10040bf0
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.1004e680
add esp, 8
test eax, eax
js 0x10040bf0
cmp eax, dword [esi - 8]
jg 0x10040bf0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x224], ecx
jne 0x1004023b
mov byte [ebp - 4], cl
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100401e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040203
mov ecx, dword [edi]
push edi
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.10043277
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, eax
mov dword [ebp - 0x240], edx
test edx, edx
jne 0x10040260
mov byte [ebp - 4], al
jmp 0x100401cd
mov eax, dword [ebx + 0x1c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x26c], xmm0
cmp dword [eax - 0xc], 0
jne 0x100402f9
mov eax, dword [0x10089b74]
cmp eax, 0xffffffff
jne 0x100402e9
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10045390
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 0x1007fb20
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]
mov edx, dword [ebp - 0x240]
neg eax
sbb eax, eax
neg eax
mov dword [0x10089b74], eax
xor ecx, ecx
cmp eax, 1
setne cl
mov dword [ebp - 0x270], ecx
jmp 0x10040309
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], 3
push 0xc
lea eax, [ebp - 0x270]
push eax
push 0x26
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x1004036d
or ebx, 0xffffffff
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004033c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040bdf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10040203
push 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 1
push eax
push 0x32
push 0
mov dword [ebp - 0x274], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
add ebx, 0x40
cmp dword [ebx], 0xffffffff
je 0x100403ae
mov ecx, dword [ebp - 0x240]
push 4
push ebx
push 2
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x29c]
push edi
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x250], eax
test eax, eax
jne 0x10040423
or ebx, 0xffffffff
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100403f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040bdf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10040203
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x10040489
push 5
lea eax, [ebp - 0x224]
push eax
call fcn.10008980
mov dword [ebp - 0x258], 1
mov ecx, str.https
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10040476
test dx, dx
je 0x10040472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10040476
add eax, 4
add ecx, 4
test dx, dx
jne 0x10040450
xor eax, eax
jmp 0x1004047b
sbb eax, eax
or eax, 1
mov dword [ebp - 0x220], 1
test eax, eax
je 0x10040493
mov dword [ebp - 0x220], 0
or ebx, 0xffffffff
test byte [ebp - 0x258], 1
je 0x100404bc
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100404bc
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 - 0x234]
push 0
push 0
push 0
push esi
push dword [eax]
push dword [ebp - 0x250]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x244], eax
test eax, eax
jne 0x10040537
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10040512
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040bd3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10040bd3
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040c0e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
mov eax, dword [eax + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x234], edi
cmp edi, eax
je 0x1004067c
nop dword [eax]
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040bfa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x220]
push 0x1007fb0c
mov dword [ebp - 0x220], eax
call fcn.10005aa0
test al, al
jne 0x100405b3
push 1
push 0x1007fb0c
lea ecx, [ebp - 0x220]
call fcn.10005d10
lea eax, [edi + 0x14]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x248]
call fcn.1003f820
mov edx, dword [ebp - 0x220]
add esp, 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100405e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x10040600
push 1
push 0x1007fb10
lea ecx, [ebp - 0x238]
call fcn.10008eb0
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x238]
push dword [eax - 0xc]
push eax
call fcn.10008eb0
push 1
push 0x1007fb14
lea ecx, [ebp - 0x238]
call fcn.10008eb0
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x238]
push dword [eax - 0xc]
push eax
call fcn.10008eb0
lea ecx, [ebp - 0x234]
call fcn.100148a0
mov edx, dword [ebp - 0x248]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040661
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x234]
mov esi, dword [ebp - 0x238]
cmp edi, dword [eax + 0x28]
jne 0x10040570
mov edi, dword [ebp - 0x23c]
mov ecx, 0
mov byte [ebp - 4], 2
mov edx, dword [edi + 0x34]
sub edx, dword [edi + 0x30]
push edx
cmovne ecx, dword [edi + 0x30]
push ecx
push dword [esi - 0xc]
push esi
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10040b69
cmp dword [edi + 0x3c], 0
je 0x100407a9
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040c18
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x234], edi
mov byte [ebp - 4], 3
mov ecx, 1
mov dword [ebp - 0x25c], 0x100
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
jge 0x1004070e
push 0x100
lea ecx, [ebp - 0x234]
call fcn.10005cb0
mov edi, dword [ebp - 0x234]
push 0
lea eax, [ebp - 0x25c]
push eax
push edi
push 0x13
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [edi - 8]
mov dword [ebp - 0x224], eax
push edi
call fcn.1004e680
add esp, 8
test eax, eax
js 0x10040bf0
cmp eax, dword [edi - 8]
jg 0x10040bf0
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x224], ecx
je 0x10040b4e
push edi
call fcn.1004f92a
add esp, 4
cmp eax, 0x12d
je 0x100408f9
cmp eax, 0x12e
je 0x100408f9
cmp eax, 0x12f
je 0x100408f9
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100407a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x23c]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100407c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100407e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040807
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.10043901
mov ecx, dword [ebp - 0x240]
add esp, 4
mov dword [eax], ecx
mov ecx, edi
push dword [ebp - 0x230]
push eax
call fcn.10040d30
push 4
call fcn.10043901
mov ecx, dword [ebp - 0x250]
add esp, 4
mov dword [eax], ecx
lea ecx, [edi + 8]
push dword [ebp - 0x230]
push eax
call fcn.10040d30
push 4
call fcn.10043901
mov ecx, dword [ebp - 0x244]
add esp, 4
mov dword [eax], ecx
lea ecx, [edi + 0x10]
push dword [ebp - 0x230]
push eax
call fcn.10040d30
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10040886
lock inc dword [eax + 4]
mov eax, dword [edi + 0x10]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100408ae
lock inc dword [eax + 4]
mov eax, dword [edi + 8]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100408d6
lock inc dword [eax + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x254]
call fcn.1003f5b0
mov eax, dword [ebp - 0x254]
add esp, 0x18
jmp 0x1004021d
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10040c22
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
mov edx, 1
mov dword [ebp - 0x260], 0x400
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
jge 0x1004094f
push 0x400
lea ecx, [ebp - 0x220]
call fcn.10005cb0
mov eax, dword [ebp - 0x220]
push 0
lea ecx, [ebp - 0x260]
push ecx
push eax
push 0x21
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x220]
push dword [eax - 8]
push eax
call fcn.1004e680
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10040bf0
mov eax, dword [ebp - 0x220]
cmp ecx, dword [eax - 8]
jg 0x10040bf0
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x224], edx
je 0x10040b33
cmp dword [eax - 0xc], edx
je 0x10040b33
mov ecx, dword [ebp - 0x24c]
lea edx, [eax - 0x10]
mov dword [ebp - 0x224], edx
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x248], ecx
cmp edx, ecx
je 0x10040a42
add ecx, 0xc
mov dword [ebp - 0x264], ecx
cmp dword [ecx], 0
jl 0x10040a33
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x220]
jne 0x10040a33
mov ecx, edx
call fcn.10005e40
mov edx, dword [ebp - 0x264]
mov ecx, ebx
mov dword [ebp - 0x230], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10040a26
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x24c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10040a42
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x24c]
push eax
call fcn.10005d10
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x250]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x23c]
inc dword [eax + 0x44]
cmp dword [eax + 0x44], 0xa
jl 0x10040a84
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x224]
jmp 0x10040b3a
push dword [ebp - 0x254]
mov ecx, eax
call fcn.1003ffe0
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x224]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040aaf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10040aca
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10040ae5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040b06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040b28
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x254]
jmp 0x1004021d
mov byte [ebp - 4], 3
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040b4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10040b69
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10040b84
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040ba5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10040bc7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x250]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10040203
push 0x80070057
call fcn.100013a0
push 0x80004005
call fcn.100013a0
push 0x80004005
call fcn.100013a0
push 0x80004005
call fcn.100013a0
push 0x80004005
call fcn.100013a0
push 0x80004005
call fcn.100013a0
int3