Function at 0x47f010
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 0x4b92a2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x4e2018]
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 - 0x228], ecx
mov eax, dword [ebp + 8]
lea ebx, [ecx + 0x20]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], ebx
cmp dword [eax - 0xc], 0
je 0x47f228
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x250], ecx
cmp dword [eax - 0xc], 0
jne 0x47f090
push 3
push 0x4cf5fc
call fcn.004044f0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47fdc8
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47fdd2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x248], 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 0x47f140
push 0x104
lea ecx, [ebp - 0x238]
call fcn.00404400
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 0x47f17a
push 0x400
lea ecx, [ebp - 0x248]
call fcn.00404400
mov edi, dword [ebp - 0x248]
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.0048ea59
add esp, 8
test eax, eax
js 0x47fdbe
cmp eax, dword [esi - 8]
jg 0x47fdbe
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [edi - 8]
push edi
call fcn.0048ea59
add esp, 8
test eax, eax
js 0x47fdbe
cmp eax, dword [edi - 8]
jg 0x47fdbe
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
test ebx, ebx
jne 0x47f260
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 0x47f20c
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 0x47f228
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.00486589
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x228]
xorps xmm0, xmm0
movlpd qword [ebp - 0x270], xmm0
or ebx, 0xffffffff
mov eax, dword [ecx + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x47f6c7
mov eax, dword [0x4e2d1c]
cmp eax, ebx
jne 0x47f2eb
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00488c10
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 0x4cf8c0
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 [0x4e2d1c], eax
xor ecx, ecx
mov edx, 0x4cf8c0
cmp eax, 1
setne cl
mov dword [ebp - 0x274], ecx
push ecx
lea ecx, [ebp - 0x224]
call fcn.0046c010
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 0x47f33b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x231], 0
je 0x47f63e
call fcn.004853b0
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x224]
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004853b0
cmp ebx, 2
mov ebx, eax
lea eax, [ebx + 4]
push eax
jne 0x47f611
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00485300
lea eax, [ebx + 4]
mov dword [ebp - 0x240], 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov byte [ebp - 4], 2
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47fddc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x220]
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
push str.httphttp:___s:_s
push eax
call fcn.00403ab0
mov eax, dword [ebp - 0x228]
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 0x47f451
mov byte [ebp - 4], 2
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 0x47f43a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x284]
call fcn.00467c30
mov byte [ebp - 4], 0
add edi, 0xfffffff0
jmp 0x47f1f8
mov ebx, dword [ebp - 0x284]
mov ecx, 0x4c6c00
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47f486
test dx, dx
je 0x47f482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47f486
add eax, 4
add ecx, 4
test dx, dx
jne 0x47f460
xor eax, eax
jmp 0x47f48b
sbb eax, eax
or eax, 1
test eax, eax
je 0x47f4a9
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 0x47f4af
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x280]
mov ecx, 0x4c6c00
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47f4e6
test dx, dx
je 0x47f4e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47f4e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x47f4c0
xor eax, eax
jmp 0x47f4eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x47f506
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], 2
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 0x47f52a
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.00467c30
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 - 0x228]
add eax, 0x40
cmp dword [eax], 0xffffffff
je 0x47f57f
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 - 0x24c], eax
test eax, eax
je 0x47f67d
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x47f6ef
push 5
lea eax, [ebp - 0x224]
push eax
call fcn.004220b0
or dword [ebp - 0x240], 1
mov ecx, 0x4cf8d8
mov eax, dword [eax]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47f6dc
test dx, dx
je 0x47f60a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47f6dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x47f5e0
xor eax, eax
jmp 0x47f6e1
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 0x47f63b
mov dword [ebp - 0x274], 0
or ebx, 0xffffffff
mov eax, dword [ebp - 0x228]
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 0x47f445
push 0xc
lea ecx, [ebp - 0x274]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x47f539
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47f698
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 0x47f6b4
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 0x47f228
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x274], 3
jmp 0x47f63e
sbb eax, eax
or eax, 1
mov dword [ebp - 0x220], 1
test eax, eax
je 0x47f6f9
mov dword [ebp - 0x220], 0
test byte [ebp - 0x240], 1
je 0x47f71f
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f71f
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 - 0x24c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x47f7ac
mov byte [ebp - 4], al
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47f775
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 0x47f791
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x230]
call esi
jmp 0x47f228
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ecx + 0x28]
call fcn.0047eaa0
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 4
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 - 0x23c]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x47f853
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f818
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 0x47f833
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 0x47fd9b
mov ecx, dword [esi]
push esi
jmp 0x47fd96
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x3c], 0
je 0x47f9aa
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47fde6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 5
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 0x47f8b8
push 0x100
lea ecx, [ebp - 0x250]
call fcn.00404400
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.0048ea59
add esp, 8
test eax, eax
js 0x47fdbe
cmp eax, dword [esi - 8]
jg 0x47fdbe
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x224], ecx
jne 0x47f95f
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47f91f
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 - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f940
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 0x47fd79
mov ecx, dword [edi]
push edi
jmp 0x47fd74
push esi
call fcn.004980d4
add esp, 4
cmp eax, 0x12d
je 0x47fafa
cmp eax, 0x12e
je 0x47fafa
cmp eax, 0x12f
je 0x47fafa
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47f9a4
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 - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47f9cb
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 0x47f9e6
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 0x47fa02
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.004865a5
mov ecx, dword [ebp - 0x230]
add esp, 4
mov ebx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp - 0x22c]
push eax
call fcn.0047ff30
push 4
call fcn.004865a5
mov ecx, dword [ebp - 0x24c]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebx + 8]
push dword [ebp - 0x22c]
push eax
call fcn.0047ff30
push 4
call fcn.004865a5
mov ecx, dword [ebp - 0x220]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebx + 0x10]
push dword [ebp - 0x22c]
push eax
call fcn.0047ff30
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x47fa87
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 0x47faaf
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 0x47fad7
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.0047e4b0
mov eax, dword [ebp - 0x254]
add esp, 0x18
jmp 0x47f242
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47fdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 6
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 0x47fb4f
push 0x400
lea ecx, [ebp - 0x224]
call fcn.00404400
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.0048ea59
add esp, 8
test eax, eax
js 0x47fdbe
cmp eax, dword [edi - 8]
jg 0x47fdbe
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x258], ecx
je 0x47fd01
cmp dword [edi - 0xc], ecx
je 0x47fd01
mov ecx, dword [ebp - 0x244]
lea edx, [edi - 0x10]
mov dword [ebp - 0x22c], edx
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x264], ecx
cmp edx, ecx
je 0x47fc2d
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [edi - 0xc]
jl 0x47fc20
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47fc1d
mov ecx, edx
call fcn.00416960
mov dword [ebp - 0x268], eax
mov ecx, ebx
mov eax, dword [ebp - 0x258]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47fc0a
mov edi, dword [ebp - 0x264]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x268]
add eax, 0x10
mov dword [ecx], eax
jmp 0x47fc2d
mov eax, dword [edi - 0xc]
mov ecx, dword [ebp - 0x244]
push eax
push edi
call fcn.004044f0
push dword [ebp - 0x220]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x24c]
call edi
push dword [ebp - 0x230]
call edi
mov edi, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x228]
push edi
call fcn.0047f010
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fc7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47fc96
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 - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fcb7
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 - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fcd8
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 0x47fcfa
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x47f242
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47fd1c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47fd37
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 - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fd58
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 - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47fd79
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 0x47fd9b
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 - 0x24c]
call esi
push dword [ebp - 0x230]
call esi
jmp 0x47f228
push 0x80070057
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3