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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
mov ecx, 0x1046f840
mov dword [ebp - 0x2c], esi
call fcn.100aeba0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x100a24d5
call fcn.100b44b0
mov dword [ebp - 0x28], eax
cmp byte [esi + 0x38], 0
je 0x100a27de
push ebx
lea ebx, [esi + 0x40]
push edi
mov dword [ebp - 0x24], ebx
test eax, eax
je 0x100a24f7
push str.CWSASendThread
mov ecx, eax
call fcn.100b3100
xor ecx, ecx
mov byte [esi + 0x68], 0
mov eax, dword [esi + 0x58]
test eax, eax
cmovg ecx, eax
test ecx, ecx
jne 0x100a2548
cmp dword [0x1046f844], ecx
jne 0x100a2515
xor eax, eax
jmp 0x100a2528
lea eax, [ebp - 8]
push eax
push 1
push str.CWSASendThread____Sleep
call fcn.100b43d0
add esp, 0xc
push 0xc8
lea ecx, [esi + 0x60]
mov dword [ebp - 8], eax
call fcn.100af620
mov eax, dword [ebp - 8]
test eax, eax
je 0x100a2548
push eax
call fcn.100b4390
add esp, 4
mov byte [esi + 0x68], 1
mov dword [ebp - 4], 0
push 4
push 4
lea eax, [ebp - 4]
push eax
push ebx
call fcn.100b6810
add esp, 0x10
test al, al
je 0x100a27c5
lock dec dword [ebx + 0x18]
mov esi, dword [ebp - 4]
mov eax, dword [esi + 8]
cmp eax, 0x10427896
jne 0x100a25b9
cmp dword [0x1046f844], 0
jne 0x100a2597
push dword [esi]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.100a2ae0
mov eax, dword [ebp - 0xc]
jmp 0x100a25ed
lea eax, [ebp - 0xc]
push eax
push 6
push str.DisconnectPlatformSocket
call fcn.100b43d0
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [esi]
call fcn.100a2ae0
mov eax, dword [ebp - 0xc]
jmp 0x100a25ed
cmp eax, 0x10427897
jne 0x100a2613
cmp dword [0x1046f844], 0
jne 0x100a25cd
xor eax, eax
jmp 0x100a25e0
lea eax, [ebp - 0x10]
push eax
push 6
push str.ClosePlatformSocket
call fcn.100b43d0
add esp, 0xc
push dword [esi]
mov dword [ebp - 0x10], eax
call fcn.100a2ac0
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x100a27b3
push eax
call fcn.100b4390
add esp, 4
push 0x38
push dword [ebp - 4]
call fcn.100c15fb
add esp, 8
jmp 0x100a2553
cmp eax, 0x104278a4
je 0x100a27b3
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x100a262e
mov ecx, 0xe
mov edx, ebx
jmp 0x100a2636
mov edx, dword [esi + 0x10]
mov ecx, 6
push edx
push eax
mov eax, dword [ebp - 4]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 4]
push dword [eax]
push 0x100a28f0
push ecx
mov ecx, 0x10428308
call fcn.100a3220
mov ecx, dword [esi + 0x14]
mov edi, eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x30], ecx
mov eax, dword [esi + 0x20]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x3c], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x40], al
mov eax, dword [esi + 0xc]
test ebx, ebx
je 0x100a274d
mov ecx, dword [esi + 0x30]
lea edx, [edi + 0x74]
mov dword [edx], eax
test ecx, 0x130
je 0x100a26f4
cmp dword [0x1046f844], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
jne 0x100a26b6
xor eax, eax
jmp 0x100a26c9
lea eax, [ebp - 0x14]
push eax
push 6
push 0x1027b7f8
call fcn.100b43d0
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edi
push eax
push 1
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call fcn.100a2a80
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov esi, eax
test ecx, ecx
je 0x100a27a0
push ecx
jmp 0x100a2798
mov dword [edi + 0x78], 0x31305456
cmp dword [0x1046f844], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], eax
jne 0x100a271e
xor eax, eax
jmp 0x100a2731
lea eax, [ebp - 0x18]
push eax
push 6
push 0x1027b7f8
call fcn.100b43d0
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push edi
push eax
push 2
lea eax, [ebp - 0x4c]
push eax
push dword [esi]
call fcn.100a2a80
mov esi, eax
mov eax, dword [ebp - 0x18]
jmp 0x100a2790
cmp dword [0x1046f844], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
jne 0x100a2763
xor eax, eax
jmp 0x100a2776
lea eax, [ebp - 0x20]
push eax
push 6
push 0x1027b7f8
call fcn.100b43d0
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push eax
push 1
lea eax, [ebp - 0x3c]
push eax
push dword [esi]
call fcn.100a2a80
mov esi, eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
test eax, eax
je 0x100a27a0
push eax
call fcn.100b4390
add esp, 4
test esi, esi
je 0x100a27b0
push edi
mov dword [edi + 0x70], esi
call fcn.100a2850
add esp, 4
mov ebx, dword [ebp - 0x24]
push 0x38
push dword [ebp - 4]
call fcn.100c15fb
add esp, 8
jmp 0x100a2553
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0
cmp byte [esi + 0x38], 0
jne 0x100a24e7
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret