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

Disassembly:
push 0xffffffffffffffff
push 0x4d9b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
push 4
movq qword [esp + 0x28], xmm0
call fcn.004b1806
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], 0
test eax, eax
je 0x460ff5
mov dword [eax], 0
mov dword [eax], 0
jmp 0x460ff7
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00462430
mov dword [esp + 0x3c], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
test eax, eax
je 0x461042
push eax
push ecx
call fcn.0045f750
add esp, 4
mov ecx, eax
call fcn.0045fc10
mov dword [esi], 0
call fcn.0045f750
mov ecx, eax
call fcn.0045fae0
or ebp, 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x461104
mov ecx, dword [edi]
lea eax, [esp + 0x24]
push eax
add ecx, 0x30
call fcn.00416380
mov ecx, dword [edi]
sub esp, 8
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], esp
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x3c], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
push dword [edi + 4]
push dword [edi]
call fcn.004166f0
mov byte [esp + 0x44], 2
push esi
mov byte [esp + 0x48], 1
mov ecx, edi
call fcn.00461220
test al, al
jne 0x46115b
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x3c], 3
lea eax, [esp + 0x18]
mov ecx, dword [edi]
push eax
add ecx, 0x30
call fcn.00447bf0
mov byte [esp + 0x3c], 1
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x461104
lea eax, [esi + 4]
mov ecx, ebp
lock xadd dword [eax], ecx
jne 0x461104
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, ebp
lock xadd dword [eax], edx
jne 0x461104
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor bl, bl
mov dword [esp + 0x3c], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x461138
lea eax, [esi + 4]
mov ecx, ebp
lock xadd dword [eax], ecx
jne 0x461138
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea edx, [esi + 8]
lock xadd dword [edx], ebp
dec ebp
jne 0x461138
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x2c
ret 4
mov eax, dword [edi]
add eax, 0x80
mov dword [esp + 0x20], eax
je 0x461175
mov eax, dword [eax]
test eax, eax
je 0x461175
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x3c], 4
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x461194
mov ecx, dword [edi]
lea ecx, [ecx + 0x30]
call fcn.00416440
mov esi, dword [esp + 0x20]
xor bl, bl
jmp 0x4611f4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4611af
mov eax, dword [esi]
test eax, eax
je 0x4611a9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
xor bl, bl
mov dword [esp + 0x14], 2
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.0045f750
mov ecx, eax
call fcn.0045fb70
mov ecx, dword [esp + 0x14]
test al, al
je 0x4611e5
test ecx, ecx
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov eax, dword [edi]
mov dword [eax + 0x78], ecx
mov ecx, dword [edi]
lea ecx, [ecx + 0x30]
call fcn.00416440
mov byte [esp + 0x3c], 1
test esi, esi
je 0x461106
mov eax, dword [esi]
test eax, eax
je 0x46120e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x20], 0
jmp 0x461106