Function at 0x101717d0
Capabilities:
Connect socket
Create process on windows
Create process suspended
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7756
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10290198]
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
mov esi, ecx
mov dword [ebp - 0x1fc], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
push 0
push 0
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x200], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
push 0x1001
mov dword [ebp - 4], 0
call fcn.1019377e
push ebx
mov dword [esi + 8], eax
push 0x101afac4
mov byte [eax], 0
lea eax, [ebp - 0x38]
push 0x28
push eax
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x1fc], 0
call sym.tesseract41.dll_snprintf
add esp, 0x14
lea eax, [ebp - 0x1f8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test ebx, ebx
je 0x101718b9
push str.WSAStartup_failed:
push dword [0x101ae19c]
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
add esp, 8
mov ecx, eax
push ebx
call dword [0x101ae0d4]
push sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_char__struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char____
mov ecx, eax
call dword [0x101ae194]
lea eax, [ebp - 0x1fc]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10171996
push str.Error_resolving_name_for_ScrollView_host
push dword [0x101ae19c]
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
mov ecx, edi
mov dword [ebp - 0x40], 0
add esp, 8
mov dword [ebp - 0x3c], 0xf
mov ebx, eax
mov byte [ebp - 0x50], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10171901
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x50]
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const__unsigned_int_
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
push ebx
mov byte [ebp - 4], 1
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::_Insert_string_char__struct_std::char_traits_char___unsigned_int__class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__const__unsigned_int_
push 0x101b22a8
push eax
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
add esp, 0x14
mov ecx, eax
push dword [ebp - 0x200]
call dword [0x101ae0d4]
push sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_char__struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char____
mov ecx, eax
call dword [0x101ae194]
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10171990
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10171986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10171986
call dword [0x101ae2e8]
push edx
push ecx
call fcn.10193770
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x1fc]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
jns 0x101719d9
push str.Failed_to_open_socket
push dword [0x101ae19c]
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
add esp, 8
mov ecx, eax
push sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_char__struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char____
call dword [0x101ae194]
jmp 0x10171c26
mov eax, dword [ebp - 0x1fc]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x10171c26
push str.SCROLLVIEW_PATH
call dword [0x101ae25c]
test eax, eax
mov edx, 0x101b07e8
cmovne edx, eax
sub esp, 0x14
mov edi, esp
mov ecx, edx
mov dword [edi + 0x10], 0
lea ebx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10171a24
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const__unsigned_int_
lea eax, [ebp - 0x68]
push eax
call fcn.10171e70
add esp, 0x1c
cmp dword [ebp - 0x54], 0x10
lea edi, [ebp - 0x68]
mov dword [ebp - 0x40], 0
cmovae edi, dword [ebp - 0x68]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
push 0x17
push str.java__Xms512m__Xmx1024m
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
push 1
push 0x101af5c0
lea ecx, [ebp - 0x50]
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10171a86
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x50]
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
push str.Starting
push dword [0x101ae198]
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae ecx, dword [ebp - 0x50]
push ecx
push eax
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::_Insert_string_char__struct_std::char_traits_char___unsigned_int__class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__const__unsigned_int_
add esp, 0x14
mov ecx, eax
push sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_char__struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char____
call dword [0x101ae194]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x258]
push ecx
push 0
push 0
push 0x8000008
push 0
push 0
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
test eax, eax
jne 0x10171bbf
cmp edx, 0x10
jb 0x10171b4c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10171b42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10171bea
push edx
push ecx
call fcn.10193770
add esp, 8
push dword [esi + 4]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebp - 0x1fc]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
test eax, eax
js 0x10171b64
mov ecx, dword [ebp - 0x1fc]
push dword [ecx + 0x10]
push dword [ecx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x10171bf0
push dword [esi + 4]
call edi
mov dword [esi + 4], 0xffffffff
push str.ScrollView:_Waiting_for_server..._n
push dword [0x101ae198]
call sym.tesseract41.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__
add esp, 8
push 0x3e8
call ebx
jmp 0x10171b64
cmp edx, 0x10
jb 0x10171b4c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10171b42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10171b42
call dword [0x101ae2e8]
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10171c26
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10171c1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10171c1c
call dword [0x101ae2e8]
push edx
push ecx
call fcn.10193770
add esp, 8
push dword [ebp - 0x1fc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
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.10193ac9
mov esp, ebp
pop ebp
ret 8