Function at 0x1002ac40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008d780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x18], 0x100937fc
xor ebx, ebx
lea esi, [ebp + 8]
cmp esi, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], esi
je 0x1002ac84
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1002ac84
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebp
mov dword [esp + 0xc], ebx
call fcn.10008b40
test eax, eax
jne 0x1002acbb
cmp esi, ebx
je 0x1002aca5
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1002aca5
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [ebp]
push edi
mov edi, dword [esp + 0x44]
mov ecx, ebp
push edi
call dword [eax + 0x10]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x1002acdd
lea ecx, [esi + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, 1
test esi, esi
mov byte [esp + 0x3c], bl
je 0x1002ad38
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x1002ad67
lea edx, [esp + 0x44]
lea ecx, [esp + 0x24]
push edx
push str.F:SCVICELIBIceProviderIceSocketManager.cpp
mov dword [esp + 0x4c], 0xa1b
call fcn.10038570
push edi
push 0x100a6b70
push ebx
push eax
mov byte [esp + 0x4c], 2
call fcn.100386d0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x24]
call fcn.100385c0
add esi, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x20]
pop edi
test eax, eax
je 0x1002ad4f
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1002ad4f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1002ada8
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24]
push eax
push str.F:SCVICELIBIceProviderIceSocketManager.cpp
mov dword [esp + 0x4c], 0xa22
call fcn.10038570
push edi
push 0x100a6b70
push ebx
push eax
mov byte [esp + 0x4c], 3
call fcn.100386d0
add esp, 0x10
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x24]
jmp 0x1002ad29
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x1002ae66
push eax
mov ecx, ebp
call fcn.10029b80
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1002ae16
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
push str.F:SCVICELIBIceProviderIceSocketManager.cpp
mov dword [esp + 0x1c], 0xa33
call fcn.10038570
mov edi, eax
mov byte [esp + 0x3c], 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi + 0x40]
push eax
push 0x100a6b44
push ebx
push edi
call fcn.100386d0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.100385c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa36
mov edi, dword [esi + 0x2c]
push ecx
push str.F:SCVICELIBIceProviderIceSocketManager.cpp
lea ecx, [esp + 0x2c]
call fcn.10038570
mov edx, dword [esi + 0x40]
mov byte [esp + 0x3c], 5
push edx
push edi
push 0x100a6b20
push 0
push eax
call fcn.100386d0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.100385c0
mov edi, dword [esp + 0x44]
mov dword [esi + 0x40], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
add esi, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edi
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.100155f0
test eax, eax
je 0x1002ad38
mov dword [esp + 0x10], ebx
jmp 0x1002ad38