Function at 0x10001300
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012714
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x1001b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x448], edi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x18], 0
je 0x1000184a
cmp dword [ebp + 0x30], 0
je 0x1000184a
cmp dword [ebp + 0x48], 0
je 0x1000184a
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10005420
push 0
push 0
push 0
push 0
push 0x10018db4
mov byte [ebp - 4], 4
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
mov ecx, eax
push 1
push 0
push 3
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x448], ecx
cmovae eax, dword [ebp + 8]
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
mov ecx, eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x460], ecx
cmovae eax, dword [ebp + 0x20]
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
mov esi, eax
cmp dword [ebp - 0x42c], 0x10
lea eax, [ebp - 0x440]
push ecx
push dword [ebp - 0x430]
cmovae eax, dword [ebp - 0x440]
push eax
push esi
mov dword [ebp - 0x45c], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 0x444]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10001681
nop word [eax + eax]
cmp dword [ebp - 0x444], 0
je 0x1000167b
lea eax, [ebp - 0x410]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x490], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100014b1
sub eax, edx
lea ecx, [ebp - 0x490]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.10005420
mov byte [ebp - 4], 5
lea eax, [ebp - 0x490]
mov ecx, dword [ebp - 0x444]
cmp dword [ebp - 0x480], ecx
mov dword [ebp - 0x468], 0
cmovb ecx, dword [ebp - 0x480]
cmp dword [ebp - 0x47c], 0x10
push ecx
cmovae eax, dword [ebp - 0x490]
lea ecx, [ebp - 0x478]
push eax
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.10005420
mov byte [ebp - 4], 6
lea esi, [ebp - 0x478]
cmp dword [ebp - 0x464], 0x10
mov edi, dword [ebp - 0x478]
mov edx, dword [ebp - 0x418]
cmovae esi, edi
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x468]
sub eax, edx
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x454], edx
push ecx
cmp ecx, eax
ja 0x100015a2
cmp dword [ebp - 0x414], 0x10
lea esi, [ebp - 0x428]
push dword [ebp - 0x450]
cmovae esi, dword [ebp - 0x428]
lea eax, [ecx + edx]
mov dword [ebp - 0x418], eax
lea eax, [esi + edx]
push eax
call fcn.10008940
mov eax, dword [ebp - 0x468]
add esp, 0xc
mov ecx, dword [ebp - 0x454]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x100015c2
push esi
mov byte [ebp - 0x458], 0
push dword [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x428]
call fcn.10005a10
mov edi, dword [ebp - 0x478]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x464]
cmp eax, 0x10
jb 0x100015fc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100015f2
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push ecx
push edi
call fcn.10005e32
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x47c]
cmp edx, 0x10
jb 0x1000163a
mov ecx, dword [ebp - 0x490]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001630
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
add esp, 8
mov eax, dword [ebp - 0x444]
cmp eax, 0x400
jae 0x1000190a
mov esi, dword [ebp - 0x45c]
mov byte [ebp + eax - 0x410], 0
lea eax, [ebp - 0x444]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001480
mov edi, dword [ebp - 0x44c]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x460]
call esi
push dword [ebp - 0x448]
call esi
movups xmm0, xmmword [ebp - 0x428]
mov edx, dword [ebp - 0x42c]
mov eax, 0xf
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 0x428], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], eax
cmp edx, 0x10
jb 0x1000171b
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000170b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
mov eax, dword [ebp - 0x414]
add esp, 8
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp eax, 0x10
jb 0x1000176c
mov ecx, dword [ebp - 0x428]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x100017bb
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100017b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10001801
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100017f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x100018e8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100018de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
jmp 0x100018de
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x10018d81
mov byte [edi], 0
call fcn.10005420
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10001899
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000188f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
push edx
push ecx
call fcn.10005e32
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10001801
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100017f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001905
jmp 0x100017f7
push edx
push ecx
call fcn.10005e32
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005e21
mov esp, ebp
pop ebp
ret
call fcn.10009730
call fcn.100062ce
int3