Function at 0xb9070
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4c
xor ebx, ebx
mov edi, edx
push 1
mov dword [ebp - 0x19c], ebx
call fcn.001591ee
mov esi, eax
add esp, 8
mov dword [ebp - 0x1a0], esi
test esi, esi
jne 0xb90dc
push str.failed_to_create_civetweb_object
push 0x17bec4
push 0x2a6
push str.mg_start
push 0x188be0
call fcn.000c0810
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
mov esi, dword [edi]
add edi, 4
test esi, esi
je 0xb91e6
test ebx, ebx
jne 0xb91e6
lea edx, [ebp - 0x19c]
mov ecx, esi
call fcn.000bb3e0
test eax, eax
je 0xb9140
push esi
push str._s_is_an_invalid_option
push 0x2be
push str.mg_start
push 0x188be0
call fcn.000c0810
add esp, 0x14
jmp 0xb91d7
mov ecx, dword [edi]
add edi, 4
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0xb915c
push esi
push str._s_option_has_invalid_value
push 0x2c3
jmp 0xb9129
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a0]
lea eax, [eax + edx*4]
add eax, 0x10
mov dword [ebp - 0x1ac], eax
cmp dword [eax], 0
je 0xb9187
push edx
push esi
push str._s_option_has_duplicate_value__d
push 0x2c5
jmp 0xb91c5
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x1a8], eax
mov al, byte [edx]
inc edx
test al, al
jne 0xb9192
sub edx, dword [ebp - 0x1a8]
push edx
mov edx, ecx
mov ecx, dword [ebp - 0x1ac]
call fcn.000c0e50
add esp, 4
test eax, eax
je 0xb91d9
push dword [ebp - 0x1a4]
push esi
push str.failed_to_copy_option__s_and_value__s
push 0x2c8
push str.mg_start
push 0x188be0
call fcn.000c0810
add esp, 0x18
mov ebx, eax
mov esi, dword [edi]
add edi, 4
test esi, esi
jne 0xb9105
mov eax, dword [ebp - 0x1a0]
add eax, 0x10
xor esi, esi
mov dword [ebp - 0x19c], eax
test ebx, ebx
jne 0xb93a5
cmp dword [eax], ebx
jne 0xb9269
mov edi, dword [esi + 0x1a79b0]
mov ecx, dword [esi + 0x1a79a8]
mov dword [ebp - 0x1a4], ecx
test edi, edi
je 0xb9269
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0xb9220
sub ecx, edx
mov edx, edi
push ecx
mov ecx, dword [ebp - 0x19c]
call fcn.000c0e50
add esp, 4
test eax, eax
je 0xb9263
push edi
push dword [ebp - 0x1a4]
push str.failed_to_copy_option__s_and_value__s
push 0x2d5
push str.mg_start
push 0x188be0
call fcn.000c0810
add esp, 0x18
mov ebx, eax
mov eax, dword [ebp - 0x19c]
add esi, 0xc
add eax, 4
mov dword [ebp - 0x19c], eax
cmp esi, 0x30
jb 0xb91f7
test ebx, ebx
jne 0xb93a5
mov ebx, dword [ebp - 0x1a0]
lea ecx, [ebx + 0x3c]
call fcn.000b6b10
test eax, eax
jne 0xb9385
lea esi, [ebx + 0x20]
test esi, esi
je 0xb9385
cmp dword [esi], eax
jne 0xb9385
push 0x18
push 1
call fcn.001591ee
mov edi, eax
add esp, 8
test edi, edi
je 0xb9385
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, ebx
mov dword [esi], edi
call fcn.000bd0e0
test eax, eax
jne 0xb93d0
mov ecx, ebx
call fcn.000bd680
test eax, eax
jne 0xb93d0
lea esi, [ebx + 0x34]
test esi, esi
je 0xb9365
cmp dword [esi], eax
jne 0xb9365
push 4
push 1
call fcn.001591ee
add esp, 8
test eax, eax
je 0xb9365
push 0
push 0
push ebx
push 0xbc620
push 0
mov dword [esi], eax
mov esi, eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0xb9365
lea ecx, [ebx + 0x44]
mov edx, ebx
call fcn.000bdb30
test eax, eax
jne 0xb9345
lea ecx, [ebx + 0x48]
mov edx, ebx
call fcn.000bdb30
test eax, eax
je 0xb93d9
push str.failed_to_create_worker_list_object
push 0x17bec4
push 0x2ee
push str.mg_start
push 0x188be0
call fcn.000c0810
jmp 0xb93c9
push str.failed_to_create_master_thread
push 0x17bec4
push 0x2e9
push str.mg_start
push 0x188be0
call fcn.000c0810
jmp 0xb93c9
push str.failed_to_create_context_synchronization_objects
push 0x17bec4
push 0x2df
push str.mg_start
push 0x188be0
call fcn.000c0810
jmp 0xb93c9
push str.failed_to_setup_context_configuration
push 0x17bec4
push 0x2da
push str.mg_start
push 0x188be0
call fcn.000c0810
mov ebx, dword [ebp - 0x1a0]
add esp, 0x14
test eax, eax
je 0xb93d9
mov ecx, ebx
call fcn.000b93f0
xor ebx, ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret