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

Disassembly:
push 0xffffffffffffffff
push 0x42c0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x42e80c
mov al, byte [esi + 0x174]
xor ebx, ebx
cmp al, bl
mov dword [esp + 0x1c], 0xa
je 0x41918f
call fcn.004194b0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push edi
lea edi, [esi + 0x128]
mov byte [esp + 0x24], 9
lea eax, [edi + 8]
mov dword [edi], 0x42e810
push eax
call ebp
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov eax, dword [esi + 0x124]
lea edi, [esi + 0xf8]
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x4191ee
mov ecx, dword [edi + 0xc]
add ecx, 4
dec eax
cmp eax, ebx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x2c], eax
je 0x4191e0
cmp ecx, dword [edi + 8]
jne 0x4191e7
mov ecx, edi
call fcn.0041c180
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x4191ca
lea edi, [esi + 0xd8]
mov byte [esp + 0x24], 7
lea ecx, [edi + 8]
mov dword [edi], 0x42e810
push ecx
call ebp
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov eax, dword [esi + 0xd4]
lea edi, [esi + 0xa8]
cmp eax, ebx
mov byte [esp + 0x24], 6
je 0x419245
mov ecx, dword [edi + 0xc]
add ecx, 4
dec eax
cmp eax, ebx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x2c], eax
je 0x419237
cmp ecx, dword [edi + 8]
jne 0x41923e
mov ecx, edi
call fcn.0041c180
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x419221
lea edi, [esi + 0x88]
mov byte [esp + 0x24], 5
lea edx, [edi + 8]
mov dword [edi], 0x42e810
push edx
call ebp
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
lea ecx, [esi + 0x78]
mov byte [esp + 0x24], 4
call fcn.0041bce0
lea ecx, [esi + 0x68]
mov byte [esp + 0x24], 3
call fcn.0041bce0
lea edi, [esi + 0x48]
mov byte [esp + 0x24], 2
lea eax, [edi + 8]
mov dword [edi], 0x42e810
push eax
call ebp
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov eax, dword [esi + 0x3c]
lea edi, [esi + 0x38]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.0041de70
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, edi
call fcn.0041c0b0
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x43715c]
dec eax
mov dword [0x43715c], eax
jne 0x4192f6
mov edi, dword [0x437160]
mov dword [0x437160], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x41930d
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edi, [esi + 0x14]
mov byte [esp + 0x24], bl
lea ecx, [edi + 8]
mov dword [edi], 0x42e810
push ecx
call ebp
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov eax, dword [esi + 8]
add esi, 4
push eax
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x28], 0xffffffff
push ecx
push edx
mov ecx, esi
call fcn.0041c0b0
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x43715c]
pop edi
dec eax
pop ebp
mov dword [0x43715c], eax
jne 0x41937e
mov esi, dword [0x437160]
mov dword [0x437160], ebx
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x419395
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret