Function at 0x100b92d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push edi
push ebx
push str.ResetStorageDB__set_timeout:__d
push eax
call fcn.100029e0
lea eax, [ebp - 0x84]
push eax
call fcn.10025e80
add esp, 0x10
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 0x103caf48
mov edi, eax
push 0x202
mov dword [ebp - 0x144], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x103cb0e8], eax
mov eax, dword [0x103cae74]
cmp eax, 0xffffffff
je 0x100b9347
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x103cae74], 0xffffffff
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xorps xmm0, xmm0
mov dword [0x103cae74], eax
push 0x103c94c8
movq qword [ebp - 0x10c], xmm0
call fcn.100be9f0
add esp, 4
mov dword [ebp - 0x110], eax
push 0x17
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x112], ax
mov eax, 2
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x114]
push 0x10
push eax
push dword [0x103cae74]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x100b93f9
push 0
push str.Telnet_connect_fail
push 1
push 0x14
push 4
call fcn.100b91e0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push str.ResetStorageDB_fail__d_
push eax
call fcn.100029e0
lea eax, [ebp - 0x84]
push eax
call fcn.10025e80
add esp, 0x10
or eax, 0xffffffff
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
push esi
push dword [0x103c00d8]
call fcn.100c00fe
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 4
mov dword [0x103cc1c8], eax
mov dword [0x103cc13c], 0
mov dword [0x103cc12c], 1
push 0x1031b50e
push 0
push 1
push 0
mov dword [0x103cc1ac], 0x103cc134
mov dword [0x103cc1b4], 0x103cc13c
mov dword [0x103cc1b0], 0x103cc138
call esi
push 0x1031b50e
push 0
push 0
push 0
mov dword [0x103cc1a0], eax
call esi
push 0x1031b50e
push 0
push 0
push 0
mov dword [0x103cc1a4], eax
call esi
mov dword [0x103cc1a8], eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0x103cc1a0
push 0x100b9870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push eax
mov dword [0x103cc1b8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.100b80c0
push 0xffffffffffffffff
push dword [0x103cc1a0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push edi
push dword [0x103cae74]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
push str.root
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push 0x1031b50e
call fcn.100b9170
cmp dword [0x103c9a1c], 9
mov ecx, str.root
mov eax, str.fpdroot
cmovne eax, ecx
push eax
call fcn.100b97e0
add esp, 8
push 0x64
call edi
push 0x1031b50e
call fcn.100b9170
push str.rm__home_end_listup
call fcn.100b97e0
add esp, 8
push 0x64
call edi
push 0x1031b50e
call fcn.100b9170
push str.ls__home_end_listup
call fcn.100b97e0
add esp, 8
push 0x64
call edi
push str.No_such_file
call fcn.100b9170
add esp, 4
test al, al
jne 0x100b9566
push str.rm__home_end_listup
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push str.ls__home_create_all_image_DB
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push str.No_such_file
call fcn.100b9170
add esp, 4
test al, al
je 0x100b95cf
lea eax, [ebp - 0x84]
push str.Cannot_find_install_file
push eax
call fcn.100029e0
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x14
push 0
call fcn.100b91e0
push str.ResetStorageDB_fail_file_not_exist_
call fcn.10025e80
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
add esp, 0x20
push dword [0x103cae74]
call eax
or eax, 0xffffffff
jmp 0x100b97a3
push str.chmod_755__home_create_all_image_DB
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push str.sync
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push str._home_create_all_image_DB__d__d
push eax
call fcn.100029e0
lea eax, [ebp - 0x104]
push eax
call fcn.100b97e0
add esp, 0x14
push 0x64
call edi
push str.No_such_file
call fcn.100b9170
add esp, 4
test al, al
jne 0x100b9588
xor esi, esi
push 0x2c
lea eax, [ebp - 0x140]
inc esi
push 0
push eax
call fcn.10296750
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x144]
push dword [0x103cae74]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test byte [ebp - 0x140], 1
je 0x100b9679
push str.End_Initialize_DB_of_storage_mode
call fcn.100b9170
add esp, 4
test al, al
jne 0x100b9684
push 0x3e8
call edi
cmp esi, ebx
jl 0x100b9632
lea eax, [ebp - 0x84]
cmp esi, ebx
jne 0x100b96a3
push str.DB_reset_timeout
push eax
call fcn.100029e0
add esp, 8
mov esi, str.ResetStorageDB_fail_Timeout_
jmp 0x100b96b8
push esi
push str.DB_reset_takes__d_sec
push eax
call fcn.100029e0
add esp, 0xc
lea esi, [ebp - 0x84]
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x14
push 0
call fcn.100b91e0
push esi
call fcn.10025e80
push str.cat__home_end_listup
call fcn.100b97e0
add esp, 0x1c
push 0x64
call edi
push str.No_such_file
call fcn.100b9170
add esp, 4
test al, al
je 0x100b9723
lea eax, [ebp - 0x84]
push str.DB_install_fail
push eax
call fcn.100029e0
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x14
push 0
call fcn.100b91e0
push str.ResetStorageDB_fail_Incomplete_
jmp 0x100b95b2
push str.find__home_raw__order__name_______________.raw__wc__l____home_raw_count.log
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push str._home_server_run.sh
call fcn.100b97e0
add esp, 4
push 0x64
call edi
push str._home_client_run.sh
call fcn.100b97e0
add esp, 4
push 0x64
call edi
lea eax, [ebp - 0x84]
push str.DB_install_done
push eax
call fcn.100029e0
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x14
push 0
call fcn.100b91e0
push str.ResetStorageDB_done
call fcn.10025e80
add esp, 0x20
push dword [ebp - 0x144]
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
push dword [0x103cae74]
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov dword [0x103cae74], 0xffffffff
pop ebx
call fcn.10291e04
mov esp, ebp
pop ebp
ret