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

Disassembly:
push 0xffffffffffffffff
push 0x52b6e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x74]
push edi
mov ebp, ecx
lea edi, [esi + 0xc]
mov dword [esp + 0x2c], ebp
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x394], ebx
jne 0x4b0b15
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4b0b15
cmp eax, 0x10002
jne 0x4b0b1a
mov ebx, 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
test ebx, ebx
je 0x4b0b2f
mov eax, 0x30004
jmp 0x4b0f45
mov ebx, dword [esp + 0x7c]
push 1
lea eax, [esp + 0x1c]
push ebx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.004ae770
mov ecx, eax
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x4b0f45
test ebx, ebx
mov ecx, esi
je 0x4b0b82
lea edx, [esp + 0x24]
push edx
call fcn.004a5480
mov ebx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x70], 0
jmp 0x4b0b9d
lea eax, [esp + 0x20]
push eax
call fcn.004a01d0
mov ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x70], 1
push eax
lea ecx, [esp + 0x7c]
call fcn.00507aaf
test bl, 2
mov dword [esp + 0x70], 4
je 0x4b0bc4
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00507d3a
test bl, 1
mov dword [esp + 0x70], 3
je 0x4b0bda
lea ecx, [esp + 0x24]
call fcn.00507d3a
mov ecx, dword [0x569c90]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x70], 5
xor ebx, ebx
lea edx, [edi + 8]
inc ebx
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x394]
test eax, eax
jne 0x4b0c1c
mov eax, dword [esi + 0x248]
cmp eax, 0x20003
je 0x4b0c1c
cmp eax, 0x10002
je 0x4b0c1c
xor ebp, ebp
jmp 0x4b0c21
mov ebp, 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test ebp, ebp
jne 0x4b0f21
mov ecx, 0x571fb8
call fcn.00482ac0
cmp eax, 1
push ebx
jne 0x4b0c67
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0049a5d0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 6
call fcn.00507e73
lea ecx, [esp + 0x14]
jmp 0x4b0c8c
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0049a420
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 7
call fcn.00507e73
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 5
call fcn.00507d3a
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004f27d5
add esp, 8
test eax, eax
je 0x4b0d6c
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x34], edi
je 0x4b0cd7
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 8
lea ecx, [esi + 0x210]
jmp 0x4b0cec
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 9
lea ecx, [esi + 0x20c]
push ebp
call fcn.00507ec3
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x70], 5
call dword [edx + 0x14]
lea ecx, [esp + 0x38]
call fcn.0040d100
mov ecx, dword [esp + 0x18]
push 1
mov byte [esp + 0x74], 0xa
call fcn.004e2c20
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x3c]
push ebx
push eax
push esi
call fcn.004b9f30
mov ecx, dword [esp + 0x18]
push 2
mov ebp, eax
call fcn.004e2c20
cmp ebp, 0x30007
je 0x4b0ddc
mov ecx, ebp
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x4b0e72
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 5
call fcn.0040d280
mov ebx, dword [esp + 0x30]
cmp ebx, 0x4000
jl 0x4b0beb
mov eax, dword [0x569c90]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x1c]
push ecx
mov bl, 0xe
push 0xe1e2
push edx
mov byte [esp + 0x7c], bl
call fcn.005054ef
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push 1
push 2
push eax
call fcn.004d2190
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
test eax, eax
mov dword [esp + 0x7c], edi
je 0x4b0eed
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 0xf
lea ecx, [esi + 0x210]
jmp 0x4b0f02
mov edx, dword [0x569c90]
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
push eax
push ecx
lea edx, [esp + 0x84]
push 0xe1e5
push edx
mov byte [esp + 0x80], 0xb
call fcn.005054ef
mov eax, dword [esp + 0x8c]
add esp, 0x10
mov ecx, esi
push 1
push 1
push eax
call fcn.004d2190
push 0
push 0
push 4
mov ecx, esi
call fcn.004d1c70
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0xa
call fcn.00507d3a
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 5
call fcn.0040d280
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call fcn.00507d3a
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.00507d3a
mov eax, 0x10001
jmp 0x4b0f45
test ebx, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x7c], edi
je 0x4b0e95
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 0xc
lea ecx, [esi + 0x210]
jmp 0x4b0eaa
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 0xd
lea ecx, [esi + 0x20c]
push ebx
call fcn.00507ec3
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x70], 0xa
call dword [edx + 0x14]
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 5
call fcn.0040d280
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call fcn.00507d3a
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.00507d3a
mov eax, ebp
jmp 0x4b0f45
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x70], 0x10
lea ecx, [esi + 0x20c]
push ebp
call fcn.00507ec3
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x70], bl
call dword [edx + 0x14]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call fcn.00507d3a
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.00507d3a
mov eax, 0x30006
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8