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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x5bb73874
xor ebx, ebx
push edi
mov dword [esi], 0x5ba483c8
mov dword [esi + 4], 0x5ba483b4
mov dword [esi + 8], 0x5ba48388
mov dword [esi + 0xc], 0x5ba48378
mov dword [esi + 0x10], 0x5ba48368
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5bb7388c]
cmp eax, ebx
je 0x5bafee95
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [eax]
je 0x5bafee70
mov dword [ebp - 4], eax
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x5bafee60
jmp 0x5bafee95
mov ecx, dword [ebp - 4]
cmp ecx, ebx
je 0x5bafee7f
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
jmp 0x5bafee88
mov ecx, dword [eax + 8]
mov dword [0x5bb7388c], ecx
mov ecx, dword [0x5bb73714]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x5bafeeac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x3c], ebx
mov edx, dword [esi + 0x1c]
cmp edx, 0xffffffff
je 0x5bafeecb
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x5bafeecb
mov edi, dword [eax]
lea ecx, [esi + 8]
push ecx
push 4
push edx
push eax
call dword [edi + 0xdc]
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x5bafeedb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x5bafeeeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x44], ebx
cmp dword [esi + 0x20], ebx
mov dword [ebp - 4], ebx
jbe 0x5bafef64
xor edi, edi
mov eax, dword [esi + 0x34]
mov ecx, dword [edi + eax]
cmp ecx, ebx
je 0x5bafef11
mov eax, dword [0x5bb73714]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esi + 0x34]
mov dword [edi + eax], ebx
mov eax, dword [esi + 0x34]
mov eax, dword [edi + eax + 0x14]
mov edx, dword [eax]
lea ecx, [esi + 4]
push ecx
push eax
call dword [edx + 0x78]
mov eax, dword [esi + 0x34]
lea eax, [edi + eax + 0x14]
cmp dword [eax], ebx
je 0x5bafef3c
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x34]
mov dword [edi + eax + 0x14], ebx
mov eax, dword [esi + 0x34]
lea eax, [edi + eax + 0x18]
cmp dword [eax], ebx
je 0x5bafef56
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x34]
mov dword [edi + eax + 0x18], ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x1c
cmp eax, dword [esi + 0x20]
jb 0x5bafeef5
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x5bafef74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x48], ebx
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x5bafef8a
mov eax, dword [0x5bb73714]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x5bafefad
push eax
call fcn.5bb47777
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
je 0x5bafefad
mov eax, dword [0x5bb73714]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov dword [esi + 0x38], ebx
pop edi
pop esi
pop ebx
leave
ret