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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011c206
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x1c], ebx
call fcn.1010d600
sub esp, 0x1c
mov dword [esp + 0x3c], eax
lea eax, [edi + 0xe0]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
lea esi, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call fcn.10064500
add esp, 0x20
lea esi, [eax + 0x38]
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x124], 1
call dword [0x1012717c]
mov edx, dword [esi + 0x1c]
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x124], bl
call fcn.1003a6f0
mov edx, dword [esp + 0x1c]
mov ecx, edx
neg ecx
sbb ecx, ecx
test ecx, fcn.1009bff0
je 0x100f18c1
mov esi, dword [esp + 0x20]
push esi
xor ecx, ecx
push edx
push ecx
mov eax, 0x10052800
push eax
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
call fcn.100528d0
lea edx, [esp + 0x58]
push edx
call fcn.100f41f0
add esp, 0x18
mov byte [esp + 0x120], 2
mov ecx, dword [edi + 0x1c4]
add ecx, 0x35c
push ecx
mov ecx, eax
call fcn.100f4310
mov byte [esp + 0x120], bl
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x100f1a5a
add eax, 8
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x100f1a5a
cmp eax, ebx
je 0x100f1a5a
lea ecx, [eax - 8]
cmp ecx, ebx
je 0x100f1a5a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
jmp 0x100f1a5a
mov esi, dword [edi + 0x1c4]
add esi, 0x48
cmp byte [edi + 0x22c], bl
mov dword [esp + 0x14], esi
je 0x100f1926
mov eax, dword [edi + 0x228]
cmp eax, 2
je 0x100f18e6
cmp eax, 3
jne 0x100f1926
lea ecx, [esp + 0x78]
push ecx
lea ecx, [edi + 0x17c]
call dword [0x1012717c]
cmp word [edi + 0x198], 2
jne 0x100f1908
mov edx, dword [esp + 0x18]
push edx
jmp 0x100f190d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, edi
mov word [edi + 0x19a], ax
call fcn.100f1f70
jmp 0x100f1a3e
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.100399f0
mov edx, dword [eax]
mov dword [esp + 0x3b], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x3f], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x43], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x47], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x4b], edx
movzx eax, byte [eax + 0x14]
add esp, 0xc
lea ecx, [esp + 0x2f]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x47], al
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ebx, [esp + 0x5c]
lea ecx, [esp + 0x78]
lea esi, [esp + 0x94]
mov byte [esp + 0x120], 3
call fcn.10045890
mov bl, 5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
movzx edx, byte [0x101557ee]
xor ecx, ecx
push ecx
mov eax, 0x100f1aa0
push eax
movzx eax, byte [0x101557ec]
push edx
push eax
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x30], esp
call fcn.100528d0
lea ecx, [esp + 0x30]
push ecx
call fcn.100f4360
add esp, 0x18
mov edx, esi
push edx
mov byte [esp + 0x124], 6
mov edx, dword [edi + 0x1c4]
add edx, 0x1160
mov ecx, eax
call fcn.100f4460
mov byte [esp + 0x120], bl
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100f1a25
add eax, 8
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100f1a25
test eax, eax
je 0x100f1a25
lea ecx, [eax - 8]
test ecx, ecx
je 0x100f1a25
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x124], 0
call fcn.10043670
mov esi, dword [esp + 0x14]
cmp dword [edi + 0xdc], 3
jne 0x100f1a4c
mov eax, dword [esi + 0x28]
jmp 0x100f1a4f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
push eax
mov esi, edi
call fcn.100ed490
lea ecx, [esp + 0x78]
mov dword [esp + 0x120], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret