Function at 0x4827a0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e021d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x5203c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x482986
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x4827f7
push 3
push 0x4e73e0
call fcn.00477ed0
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x48309d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x4830a7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x84], 0
mov ecx, 1
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x88], 0x3c
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x4828ad
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.00477120
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x78], edi
mov ecx, 1
mov dword [ebp - 0x74], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4828db
push 0x400
lea ecx, [ebp - 0x30]
call fcn.00477120
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x5c], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x58], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x38], eax
push edi
call fcn.004b59c3
add esp, 8
test eax, eax
js 0x4830cf
cmp eax, dword [edi - 8]
jg 0x4830cf
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004b59c3
add esp, 8
test eax, eax
js 0x4830cf
cmp eax, dword [esi - 8]
jg 0x4830cf
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x38], ecx
jne 0x4829a4
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 0x48296a
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 0x482986
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
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 ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x4829c3
mov byte [ebp - 4], al
jmp 0x482950
mov eax, dword [ebx + 0x1c]
cmp dword [eax - 0xc], 0
je 0x4829f7
push 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0x26
push ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 3
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x482ee7
mov ecx, dword [ebp - 0x24]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x70]
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x482ee7
push 1
push 0xe80000
push 0
push 0
push 0
push esi
push dword [ebx + 0x24]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x482a86
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 0x482a53
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 0x482a6f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x482986
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x4830b1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebx + 0x28]
add eax, 0x10
or ebx, 0xffffffff
mov dword [ebp - 0x10], eax
mov ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
cmp ecx, edx
je 0x482ba2
call fcn.00476b10
test eax, eax
je 0x48309d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x18]
push 0x4e6ed0
mov dword [ebp - 0x18], eax
call fcn.00476480
test al, al
jne 0x482af0
push 1
push 0x4e6ed0
lea ecx, [ebp - 0x18]
call fcn.00477ed0
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00483100
mov edx, dword [ebp - 0x18]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x482b39
push 1
push 0x4f9b10
lea ecx, [ebp - 0x10]
call fcn.0047e780
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + 0x10]
push dword [eax - 0xc]
push eax
call fcn.0047e780
push 1
push 0x4e6ec4
lea ecx, [ebp - 0x10]
call fcn.0047e780
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.0047e780
lea ecx, [ebp - 0x38]
call fcn.00475f40
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
cmp eax, dword [edx + 0x28]
jne 0x482ab6
mov eax, dword [ebp - 0x10]
jmp 0x482ba5
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x34]
mov ecx, dword [edx + 0x30]
sub ebx, ecx
mov edx, ebx
mov byte [ebp - 4], 2
neg edx
push ebx
mov ebx, dword [ebp - 0x20]
sbb edx, edx
and edx, ecx
push edx
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x482bd5
or ebx, 0xffffffff
jmp 0x482e76
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x3c], 0
je 0x482f32
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x4830bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0x100
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x100
or ecx, edx
mov byte [ebp - 4], 3
jge 0x482c2c
push 0x100
lea ecx, [ebp - 0x14]
call fcn.00477120
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x13
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push dword [ecx - 8]
push ecx
call fcn.004b59c3
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4830cf
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x4830cf
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
test ebx, ebx
jne 0x482c7b
lea edx, [eax - 0x10]
or ebx, 0xffffffff
jmp 0x482e5e
push eax
call fcn.004b90df
add esp, 4
cmp eax, 0x12d
je 0x482cc3
cmp eax, 0x12e
je 0x482cc3
cmp eax, 0x12f
je 0x482cc3
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482f35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x482f35
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x4830c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0x400
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
mov byte [ebp - 4], 4
jge 0x482d0d
push 0x400
lea ecx, [ebp - 0x18]
call fcn.00477120
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x20]
push eax
push 0x21
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push dword [ecx - 8]
push ecx
call fcn.004b59c3
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4830cf
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax - 8]
jg 0x4830cf
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
test ebx, ebx
je 0x482e3a
cmp dword [eax - 0xc], edx
je 0x482e3a
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
push eax
call fcn.00475ed0
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
mov ecx, dword [ebp - 0x28]
push ecx
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
call ebx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.004827a0
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482dce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482dec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482e07
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 0x482e23
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or ebx, 0xffffffff
mov byte [ebp - 4], 3
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482e58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482e76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482e94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482eaf
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 0x482ecb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x28]
push ecx
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
jmp 0x482986
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 0x482f05
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 0x482f21
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
jmp 0x482986
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482f53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482f6e
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 0x482f8a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4eb980
push 4
call fcn.004a8e8b
add esp, 8
test eax, eax
je 0x482fa4
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x482fa6
xor eax, eax
push dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00481c20
push 0x4eb980
push 4
call fcn.004a8e8b
add esp, 8
test eax, eax
je 0x482fce
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x482fd0
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebx + 8]
push eax
call fcn.00481c20
push 0x4eb980
push 4
call fcn.004a8e8b
add esp, 8
test eax, eax
je 0x482ff6
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x482ff8
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebx + 0x10]
push eax
call fcn.00481c20
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x483021
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 0x483049
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 0x483071
lock inc dword [eax + 4]
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
push esi
mov dword [ecx + 4], eax
call fcn.004820e0
add esp, 0x1c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80070057
call fcn.00476460
int3