Function at 0x100bbbd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024db70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x100bbc14
mov eax, dword [esi]
test eax, eax
je 0x100bbc14
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0x2c]
xor eax, eax
mov byte [ebp - 4], 1
xor ecx, ecx
cmp byte [ebp + 8], al
mov word [ebp - 0x23c], cx
mov ecx, 1
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
cmovne eax, ecx
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24c], 0x210
test eax, eax
je 0x100bbc63
mov dword [ebp - 0x240], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x244], eax
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x23c]
push 0xff
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x24c]
mov ecx, ebx
push dword [ebp - 0x24c]
push eax
call sym.WMCommon.dll_protected:_bool___thiscall_WM::GMIpcClient::SendTotal_char___int_
test al, al
je 0x100bbddd
push dword [edi + 0xc]
mov ecx, ebx
push dword [edi + 8]
call sym.WMCommon.dll_protected:_bool___thiscall_WM::GMIpcClient::SendTotal_char___int_
test al, al
jne 0x100bbccf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.send_message_data_failed
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1001c070
mov byte [ebp - 4], 3
jmp 0x100bbdf6
cmp byte [ebp + 8], 0
je 0x100bbd96
xor eax, eax
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
lea ebx, [ebp - 0x45c]
mov dword [ebp - 0x454], 0
mov edi, 0x210
mov dword [ebp - 0x450], 0
mov word [ebp - 0x44c], ax
mov eax, dword [ebp - 0x10]
push 0
push edi
push ebx
push dword [eax + 0x14]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100bbdc2
test eax, eax
je 0x100bbdc2
sub edi, eax
add ebx, eax
test edi, edi
jg 0x100bbd15
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x100bbd96
mov edi, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.10020ab0
push dword [ebp - 0x454]
mov ecx, dword [ebp - 0x10]
push dword [edi + 8]
call sym.WMCommon.dll_protected:_bool___thiscall_WM::GMIpcClient::RecvTotal_char___int_
test al, al
jne 0x100bbd83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.recv_data_header_failed
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1001c070
mov byte [ebp - 4], 5
jmp 0x100bbdf6
mov ecx, dword [edi + 4]
cmp dword [ebp - 0x454], ecx
cmovbe ecx, dword [ebp - 0x454]
mov dword [edi + 0xc], ecx
test esi, esi
je 0x100bbda7
mov eax, dword [esi]
test eax, eax
je 0x100bbda7
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x10]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.recv_message_header_failed
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1001c070
mov byte [ebp - 4], 4
jmp 0x100bbdf6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.send_message_header_failed
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1001c070
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003c6b0
push 0x1028da08
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3