Function at 0x10011810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x30], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x28], ecx
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x40]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
je 0x1001189c
mov ecx, 8
mov esi, edx
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x44]
mov edi, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x4c]
mov ecx, ebx
mov eax, edi
call fcn.10011770
mov esi, eax
add esp, 4
test esi, esi
je 0x100118d8
xor eax, eax
call fcn.100117d0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x60]
lea eax, [esp + 0x40]
mov edx, edi
call fcn.10011330
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], eax
lea eax, [esp + eax*8 + 0x60]
mov edx, ecx
cmp edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
jae 0x10011c09
call fcn.1010d600
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
push 0
mov dword [esp + 0x20], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xa4]
push edx
push 0
push 2
push ebx
mov dword [esp + 0x4c], 0x80
call dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
mov esi, eax
call fcn.1010d600
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
mov edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
je 0x100119e0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
call fcn.1010d600
call fcn.1010d600
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10011984
cmp eax, 2
jne 0x10011c30
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 4], 2
jne 0x10011be8
lea edx, [esp + 0x1c]
push 2
push edx
lea ebx, [esp + 0x48]
lea edi, [esp + 0x30]
call fcn.10011450
mov esi, eax
add esp, 8
test esi, esi
je 0x10011be8
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov edi, str.255.255.255.255
mov esi, ebx
mov ecx, 0x10
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x10011a03
xor esi, esi
call fcn.1010d600
mov edx, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
test edx, edx
jne 0x10011a19
mov esi, 0x2726
call fcn.1010d600
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x90]
push eax
xor ecx, ecx
push ebx
lea ebx, [esp + 0x28]
lea edx, [ecx + 0x17]
call fcn.10011130
add esp, 8
cmp eax, 1
jne 0x10011aa8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10011a49
cmp eax, 0x17
jne 0x10011c60
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 4], 0x17
jne 0x10011be8
lea edx, [esp + 0x90]
push 0x17
push edx
lea ebx, [esp + 0x48]
lea edi, [esp + 0x30]
call fcn.10011450
mov esi, eax
add esp, 8
test esi, esi
je 0x10011be8
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea edi, [esp + 0x28]
lea ebx, [esp + 0x78]
call fcn.100112b0
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x10011b3d
cmp dword [esp + 0x3c], 2
je 0x10011be8
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.1010d600
mov esi, dword [esp + 0x24]
cmp esi, eax
mov edi, dword [esp + 0x20]
jne 0x10011b0d
cmp edi, 0x2af9
je 0x10011c16
call fcn.1010d600
cmp esi, eax
jne 0x10011c90
cmp edi, 0x2afa
jne 0x10011c90
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10011b51
movsx ecx, word [ebx + 8]
cmp eax, ecx
jne 0x10011c60
mov eax, dword [ebp + 8]
test eax, eax
je 0x10011bad
cmp byte [eax], 0
je 0x10011bad
mov eax, dword [ebx]
test eax, eax
je 0x10011bad
cmp byte [eax], 0
je 0x10011bad
test byte [esp + 0x40], 2
je 0x10011bad
cmp dword [esp + 0x14], 0
jne 0x10011bad
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011b80
sub eax, edx
lea edi, [eax + 1]
call fcn.10017480
test eax, eax
mov dword [esp + 0x14], eax
je 0x10011cc2
mov edx, dword [ebx]
push edx
push edi
push eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x10011be8
jmp 0x10011bc4
mov ebx, dword [esp + 0x1c]
movsx ecx, word [ebx + 8]
push ecx
push eax
lea ebx, [esp + 0x48]
lea edi, [esp + 0x30]
call fcn.10011450
add esp, 8
test eax, eax
jne 0x10011c30
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x10011bc0
mov eax, dword [esp + 0x18]
add eax, 8
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jb 0x10011905
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x10011ce5
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x2af9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x273f
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x273f
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
call fcn.1010d600
cmp esi, eax
jne 0x10011cb8
cmp edi, 0x2afb
jne 0x10011cb8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
call fcn.1010d600
jmp 0x10011c16
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x10011d49
cmp byte [eax], 0
je 0x10011d49
test byte [esp + 0x40], 2
je 0x10011d49
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10011d0d
mov dword [ecx + 0x14], eax
mov dword [esp + 0x14], 0
jmp 0x10011d49
mov esi, dword [esp + 0x60]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011d16
sub eax, edx
lea edi, [eax + 1]
call fcn.10017480
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 0
je 0x10011cc6
mov edx, dword [eax + 0x14]
push esi
push edi
push edx
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
je 0x10011d9b
cmp byte [eax], 0
je 0x10011d9b
mov esi, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.10011670
mov esi, eax
add esp, 8
test esi, esi
je 0x10011d9b
mov eax, dword [esp + 0x10]
call fcn.100117d0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword [eax], edx
xor ecx, esp
xor eax, eax
call fcn.1010defb
mov esp, ebp
pop ebp
ret