Function at 0x484b60
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 0x4d09fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4f80c0]
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 - 0x24c], eax
mov dword [ebp - 0x22c], eax
lea eax, [ebx + 0x20]
mov dword [ebp - 0x254], eax
mov eax, dword [eax]
mov dword [ebp - 0x250], 0
cmp dword [eax - 0xc], 0
je 0x484d83
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x238], ecx
cmp dword [eax - 0xc], 0
jne 0x484be2
push 3
push 0x4e46a0
call fcn.00404c10
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x48572a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], 0
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x485734
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x234], esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x2a4], xmm0
mov ecx, 1
mov dword [ebp - 0x29c], 0
movlpd qword [ebp - 0x290], xmm0
movlpd qword [ebp - 0x288], xmm0
mov dword [ebp - 0x280], 0
movlpd qword [ebp - 0x274], xmm0
mov dword [ebp - 0x2a8], 0x3c
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x484c92
push 0x104
lea ecx, [ebp - 0x228]
call fcn.00404b70
mov edi, dword [ebp - 0x228]
mov dword [ebp - 0x298], edi
mov ecx, 1
mov dword [ebp - 0x294], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x484ccc
push 0x400
lea ecx, [ebp - 0x234]
call fcn.00404b70
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x27c], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x278], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x244], eax
push edi
call fcn.004a52f6
add esp, 8
test eax, eax
js 0x485720
cmp eax, dword [edi - 8]
jg 0x485720
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004a52f6
add esp, 8
test eax, eax
js 0x485720
cmp eax, dword [esi - 8]
jg 0x485720
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x244], ecx
jne 0x484dbb
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 0x484d67
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 0x484d83
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24c]
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.00498d60
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 0x484de0
mov byte [ebp - 4], al
jmp 0x484d4d
mov eax, dword [ebx + 0x1c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x260], xmm0
cmp dword [eax - 0xc], 0
jne 0x484e79
mov eax, dword [0x4f8e34]
cmp eax, 0xffffffff
jne 0x484e69
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0049a960
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]
mov edx, dword [ebp - 0x240]
neg eax
sbb eax, eax
neg eax
mov dword [0x4f8e34], eax
xor ecx, ecx
cmp eax, 1
setne cl
mov dword [ebp - 0x264], ecx
jmp 0x484e89
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], 3
push 0xc
lea eax, [ebp - 0x264]
push eax
push 0x26
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4856d3
push 8
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 1
push eax
push 0x32
push 0
mov dword [ebp - 0x268], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
add ebx, 0x40
cmp dword [ebx], 0xffffffff
je 0x484ee4
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 - 0x290]
push edi
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x248], eax
test eax, eax
je 0x4856d3
mov ebx, dword [ebp - 0x254]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 5
jle 0x484ffb
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x484f39
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
je 0x484f39
mov ebx, dword [ebx]
mov eax, ebx
jmp 0x484f53
call fcn.00405000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ebx, dword [ebx]
mov ecx, eax
mov eax, ebx
test ecx, ecx
je 0x485743
test eax, eax
je 0x485720
mov eax, dword [ecx]
push 2
push 5
call dword [eax]
test eax, eax
je 0x48573e
cmp dword [eax + 8], 5
lea edi, [eax + 0x10]
jl 0x485720
xor eax, eax
mov dword [edi - 0xc], 5
mov word [edi + 0xa], ax
test edi, edi
jne 0x484f9b
call fcn.0049e02d
mov dword [eax], 0x16
call fcn.0049df2f
jmp 0x484fab
movq xmm0, qword [ebx]
movq qword [edi], xmm0
mov ax, word [ebx + 8]
mov word [edi + 8], ax
mov dword [ebp - 0x250], 5
mov ecx, 0x4e497c
mov eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484fe6
test dx, dx
je 0x484fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484fe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x484fc0
xor eax, eax
jmp 0x484feb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x485001
mov dword [ebp - 0x224], 1
jmp 0x48500b
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x224], 0
or ebx, 0xffffffff
test byte [ebp - 0x250], 1
je 0x48502e
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48502e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 0
mov ecx, 0xc81000
push 1
mov eax, 0x680000
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0x238]
push 0
push 0
push 0
push esi
push dword [eax]
push dword [ebp - 0x248]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x4850c1
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x485084
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4850a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x248]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x484d83
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x485743
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x230], esi
mov eax, dword [eax + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x244], edi
cmp edi, eax
je 0x485203
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x48572a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x220]
push 0x4e4978
mov dword [ebp - 0x220], eax
call fcn.00404960
test al, al
jne 0x48513a
push 1
push 0x4e4978
lea ecx, [ebp - 0x220]
call fcn.00404c10
lea eax, [edi + 0x14]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x224]
call fcn.00484310
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 0x48516f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x485187
push 1
push 0x4dd710
lea ecx, [ebp - 0x230]
call fcn.0043a0d0
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x230]
push dword [eax - 0xc]
push eax
call fcn.0043a0d0
push 1
push 0x4e49c4
lea ecx, [ebp - 0x230]
call fcn.0043a0d0
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x230]
push dword [eax - 0xc]
push eax
call fcn.0043a0d0
lea ecx, [ebp - 0x244]
call fcn.00403690
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4851e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x244]
mov esi, dword [ebp - 0x230]
cmp edi, dword [eax + 0x28]
jne 0x4850f7
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 - 0x238]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x485652
cmp dword [edi + 0x3c], 0
je 0x485330
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x48574d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 3
mov ecx, 1
mov dword [ebp - 0x244], 0x100
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
jge 0x485295
push 0x100
lea ecx, [ebp - 0x224]
call fcn.00404b70
mov edi, dword [ebp - 0x224]
push 0
lea eax, [ebp - 0x244]
push eax
push edi
push 0x13
push dword [ebp - 0x238]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [edi - 8]
mov dword [ebp - 0x220], eax
push edi
call fcn.004a52f6
add esp, 8
test eax, eax
js 0x485720
cmp eax, dword [edi - 8]
jg 0x485720
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x220], ecx
je 0x485637
push edi
call fcn.004adc55
add esp, 4
cmp eax, 0x12d
je 0x485480
cmp eax, 0x12e
je 0x485480
cmp eax, 0x12f
je 0x485480
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48532a
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 0x48534b
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 - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48536c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48538e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.004989e3
mov ecx, dword [ebp - 0x240]
add esp, 4
mov dword [eax], ecx
mov ecx, edi
push dword [ebp - 0x22c]
push eax
call fcn.004858e0
push 4
call fcn.004989e3
mov ecx, dword [ebp - 0x248]
add esp, 4
mov dword [eax], ecx
lea ecx, [edi + 8]
push dword [ebp - 0x22c]
push eax
call fcn.004858e0
push 4
call fcn.004989e3
mov ecx, dword [ebp - 0x238]
add esp, 4
mov dword [eax], ecx
lea ecx, [edi + 0x10]
push dword [ebp - 0x22c]
push eax
call fcn.004858e0
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x48540d
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 0x485435
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 0x48545d
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 - 0x24c]
call fcn.004840a0
mov eax, dword [ebp - 0x24c]
add esp, 0x18
jmp 0x484d9d
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x485757
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 - 0x258], 0x400
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
jge 0x4854d6
push 0x400
lea ecx, [ebp - 0x220]
call fcn.00404b70
mov eax, dword [ebp - 0x220]
push 0
lea ecx, [ebp - 0x258]
push ecx
push eax
push 0x21
push dword [ebp - 0x238]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x220]
push dword [eax - 8]
push eax
call fcn.004a52f6
mov edx, eax
add esp, 8
test edx, edx
js 0x485720
mov eax, dword [ebp - 0x220]
cmp edx, dword [eax - 8]
jg 0x485720
xor ecx, ecx
mov dword [eax - 0xc], edx
mov word [eax + edx*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x48561c
cmp dword [eax - 0xc], ecx
je 0x48561c
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x220]
push eax
call fcn.004033e0
push dword [ebp - 0x238]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x248]
call esi
push dword [ebp - 0x240]
call esi
mov eax, dword [ebp - 0x23c]
inc dword [eax + 0x44]
cmp dword [eax + 0x44], 0xa
jl 0x4855d0
lea ecx, [ebp - 0x220]
call fcn.00403450
lea ecx, [ebp - 0x224]
call fcn.00403450
lea ecx, [ebp - 0x230]
call fcn.00403450
lea ecx, [ebp - 0x234]
call fcn.00403450
lea ecx, [ebp - 0x228]
call fcn.00403450
push dword [ebp - 0x238]
call esi
push dword [ebp - 0x248]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x484d83
mov esi, dword [ebp - 0x24c]
mov ecx, eax
push esi
call fcn.00484b60
lea ecx, [ebp - 0x220]
call fcn.00403450
lea ecx, [ebp - 0x224]
call fcn.00403450
lea ecx, [ebp - 0x230]
call fcn.00403450
lea ecx, [ebp - 0x234]
call fcn.00403450
lea ecx, [ebp - 0x228]
call fcn.00403450
mov eax, esi
jmp 0x484d9d
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485637
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 2
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x485652
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 0x48566d
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 - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48568e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4856b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x238]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x248]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x484d83
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4856f1
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 0x48570d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x240]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x484d83
push 0x80070057
call fcn.00404de0
push 0x80004005
call fcn.00404de0
push 0x80004005
call fcn.00404de0
call fcn.00403d90
push 0x80004005
call fcn.00404de0
push 0x80004005
call fcn.00404de0
push 0x80004005
call fcn.00404de0
int3