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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c9b5
mov eax, dword fs:[0]
push eax
sub esp, 0xac4
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
mov dword [ebp - 4], 0
mov byte [ebp - 0xac1], al
lea ecx, [ebp - 0xac0]
xor eax, eax
mov dword [ebp - 0xab0], 0
push eax
push 0x45cc3c
mov dword [ebp - 0xaac], 7
mov word [ebp - 0xac0], ax
call fcn.00403ae0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x45cc3c
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 7
mov word [ebp - 0xa48], ax
call fcn.00403ae0
push 0x800
lea eax, [ebp - 0xa18]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0042d530
add esp, 0xc
mov dword [ebp - 0xacc], 0x1000
xor eax, eax
mov dword [ebp - 0xa98], 0
lea ecx, [ebp - 0xaa8]
mov dword [ebp - 0xa94], 7
mov word [ebp - 0xaa8], ax
push eax
push 0x45cc3c
call fcn.00403ae0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa78]
push 0x11
xor eax, eax
mov dword [ebp - 0xa68], 0
push str.sdmlog.clonix.com
mov dword [ebp - 0xa64], 7
mov word [ebp - 0xa78], ax
call fcn.00403ae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa60]
push 0x12
xor eax, eax
mov dword [ebp - 0xa50], 0
push str.__msdmasend.log
mov dword [ebp - 0xa4c], 7
mov word [ebp - 0xa60], ax
call fcn.00403ae0
push 0
push 0
push 0
push 1
push str.MyWeb
mov byte [ebp - 4], 5
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x40fee9
xor bl, bl
jmp 0x4101dc
cmp dword [ebp - 0xa64], 8
lea eax, [ebp - 0xa78]
push 0
cmovae eax, dword [ebp - 0xa78]
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x4101cf
cmp dword [ebp - 0xa4c], 8
lea ecx, [ebp - 0xa60]
push 0
cmovae ecx, dword [ebp - 0xa60]
push 0x84880000
push 0
push 0
push str.HTTP_1.1
push ecx
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0xac8], eax
test eax, eax
je 0x4101c6
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0xf
mov byte [ebp - 0xa90], 0
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa48]
call fcn.00403ae0
cmp dword [ebp - 0xa34], 8
lea ecx, [ebp - 0xa48]
mov eax, dword [ebp - 0xa38]
cmovae ecx, dword [ebp - 0xa48]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xa48]
cmovae ecx, dword [ebp - 0xa48]
push eax
push ecx
lea ecx, [ebp - 0xa90]
call fcn.00410900
xor eax, eax
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 7
mov word [ebp - 0xa30], ax
push eax
push 0x45cc3c
lea ecx, [ebp - 0xa30]
mov byte [ebp - 4], 7
call fcn.00403ae0
push dword [ebp - 0xa80]
lea eax, [ebp - 0x218]
push 0x45f2f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa30]
push 0xd
push str.Accept:___r_n
call fcn.00403c20
push 0x31
push str.Content_type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0xa30]
call fcn.00403c20
push 0x10
push str.Content_length:
lea ecx, [ebp - 0xa30]
call fcn.00403c20
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410060
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa30]
call fcn.00403c20
push 3
push 0x45f3a0
lea ecx, [ebp - 0xa30]
call fcn.00403c20
cmp dword [ebp - 0xa1c], 8
lea eax, [ebp - 0xa30]
mov esi, dword [ebp - 0xac8]
cmovae eax, dword [ebp - 0xa30]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
cmp dword [ebp - 0xa7c], 0x10
lea ecx, [ebp - 0xa90]
push dword [ebp - 0xa80]
cmovae ecx, dword [ebp - 0xa90]
lea eax, [ebp - 0xa30]
cmp dword [ebp - 0xa1c], 8
push ecx
push dword [ebp - 0xa20]
cmovae eax, dword [ebp - 0xa30]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
setne al
mov byte [ebp - 0xac1], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp - 0xacc]
push eax
lea eax, [ebp - 0xa18]
push eax
push 0x14
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edx, dword [ebp - 0xa1c]
cmp edx, 8
jb 0x41016d
mov ecx, dword [ebp - 0xa30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103c5
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp - 0xa7c]
xor eax, eax
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 7
mov word [ebp - 0xa30], ax
cmp edx, 0x10
jb 0x4101cc
mov ecx, dword [ebp - 0xa90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103ca
push edx
push ecx
call fcn.004154b6
add esp, 8
jmp 0x4101cc
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, byte [ebp - 0xac1]
mov edx, dword [ebp - 0xa4c]
cmp edx, 8
jb 0x41021c
mov ecx, dword [ebp - 0xa60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410212
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103cf
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp - 0xa64]
xor eax, eax
mov dword [ebp - 0xa50], 0
mov dword [ebp - 0xa4c], 7
mov word [ebp - 0xa60], ax
cmp edx, 8
jb 0x410279
mov ecx, dword [ebp - 0xa78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41026f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103d4
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp - 0xa94]
xor eax, eax
mov dword [ebp - 0xa68], 0
mov dword [ebp - 0xa64], 7
mov word [ebp - 0xa78], ax
cmp edx, 8
jb 0x4102d6
mov ecx, dword [ebp - 0xaa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4102cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103d9
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp - 0xa34]
cmp edx, 8
jb 0x410316
mov ecx, dword [ebp - 0xa48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41030c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103de
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp - 0xaac]
xor eax, eax
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 7
mov word [ebp - 0xa48], ax
cmp edx, 8
jb 0x41036f
mov ecx, dword [ebp - 0xac0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410365
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103e3
push edx
push ecx
call fcn.004154b6
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4103a5
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41039b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4103e8
push edx
push ecx
call fcn.004154b6
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414edc
mov esp, ebp
pop ebp
ret 0x18
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
call fcn.004376e0
int3