Function at 0x4097d0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4254d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x42fc3c]
xor eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
mov dword [esp + 0x38], eax
push edi
xor esi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0041ac55
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x48], 1
call fcn.0041ac55
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 2
mov dword [esp + 0x24], esi
call fcn.00404190
mov eax, dword [eax]
push str.http:__
push eax
call fcn.0040ce23
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4098c9
push 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
call fcn.00403030
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00402250
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4098d7
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.00402250
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], esi
jg 0x4098e5
or edi, 0xffffffff
jmp 0x4098fd
push 0x3a
push ebx
call fcn.0040d01b
add esp, 8
cmp eax, esi
jne 0x4098f9
or edi, 0xffffffff
jmp 0x4098fd
sub eax, ebx
mov edi, eax
cmp dword [ebx - 0xc], esi
jle 0x40991a
push 0x2f
push ebx
call fcn.0040d01b
add esp, 8
cmp eax, esi
je 0x40991a
sub eax, ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x40995c
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409939
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x48], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409b2d
mov ecx, dword [ebx]
push ebx
jmp 0x409b28
cmp edi, 0xffffffff
jle 0x4099aa
cmp esi, edi
jle 0x4099aa
mov eax, esi
sub eax, edi
dec eax
push eax
lea ecx, [edi + 1]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402f90
mov eax, dword [eax]
push eax
call fcn.0040cacb
mov ebp, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4099ae
mov ebp, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.00403030
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 4
call fcn.00402250
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jle 0x4099f5
mov esi, edi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.00404190
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00402250
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push 0
push 0
push 0
push str.LinkCreatorAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x409a5b
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x409aee
test ebp, ebp
mov eax, ebp
jne 0x409a66
mov eax, 0x50
mov edi, dword [esp + 0x10]
push 0
push 0
push 3
push 0x426748
push 0x426748
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
jne 0x409ab8
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
jmp 0x409b11
mov ebp, dword [esp + 0x14]
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push ebp
push 0x426d84
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x409b5c
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b2d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
xor edx, edx
jmp 0x409c20
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push 5
push edi
mov dword [esp + 0x34], 0x10
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x409ba1
lea edx, [esp + 0x2c]
push edx
call fcn.0040cad0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
push ebx
call edi
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
xor ecx, dword [esp + 0x44]
pop ebp
pop ebx
add esp, 0x3c
jmp fcn.0040bcfc