Function at 0x4bdc80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e635a
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x58bd90]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x4c]
mov ebx, dword [ebp + 0xc]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x148], 0
push ebx
push esi
call fcn.00475700
mov edi, eax
test edi, edi
je 0x4bdd0d
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x4bdffe
test ebx, ebx
jne 0x4bdd3c
push 0x54ad8c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x4bdffe
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x24], 0
call ecx
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jns 0x4bdd83
push 0x54adac
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x148], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x4bdffe
cmp dword [esp + 0x1c], 0
jne 0x4bddb5
push 0x54ade8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x4bdffe
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x2c]
push ebx
call edx
cmp byte [esi + 0x82c], 0
mov edi, eax
mov dword [esp + 0x24], edi
jne 0x4bdf2a
mov eax, dword [esi - 0x80]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov edi, eax
test edi, edi
js 0x4bdf7e
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4bdf7e
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0x50fd3c
push ebx
call eax
xor edi, edi
mov dword [esp + 0x18], eax
cmp eax, edi
jge 0x4bde26
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
jmp 0x4bdfe4
push 0xfd8
mov dword [esi + 0x828], edi
call fcn.00415ec5
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x148], 1
cmp eax, edi
je 0x4bde5e
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
lea ecx, [esi + 0x58]
push eax
call fcn.004bc6c0
jmp 0x4bde60
xor eax, eax
mov byte [esp + 0x148], 0
mov dword [esi + 0x50], eax
cmp eax, edi
jne 0x4bdea3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov dword [esp + 0x148], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x8007000e
jmp 0x4bdffe
push 0xfac
call fcn.00415ec5
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x148], 2
cmp eax, edi
je 0x4bded0
mov ecx, dword [esi + 0x48]
lea edx, [esi + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
jmp 0x4bded2
xor eax, eax
mov byte [esp + 0x148], 0
mov dword [esi + 0x54], eax
cmp eax, edi
jne 0x4bdf0a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x4bdf02
push eax
call fcn.00407440
mov dword [esi + 0x50], edi
jmp 0x4bde83
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xa0], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov edi, dword [esp + 0x24]
mov byte [esi + 0x82c], 1
mov eax, dword [esp + 0x1c]
mov dl, byte [eax]
test dl, dl
jne 0x4bdf98
movzx ecx, word [eax + 1]
mov ebx, ecx
and ebx, 0xf
shl ebx, 8
shr ecx, 8
or ebx, ecx
cmp ebx, 0x3fd
jg 0x4bdf98
movzx ecx, word [eax + 1]
mov ebx, ecx
and ebx, 0xf
shl ebx, 8
shr ecx, 8
or ebx, ecx
cmp ebx, 5
jl 0x4bdf98
mov cl, byte [eax + 7]
cmp cl, byte [eax + 6]
jb 0x4bdf98
test byte [eax + 1], 0x80
je 0x4bdf98
mov ebx, eax
mov eax, dword [esi + 0x50]
push edi
call fcn.004bc610
jmp 0x4bdfe4
mov dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x4bdffe
cmp dl, 2
jne 0x4bdfe4
movzx ecx, word [eax + 1]
mov edx, ecx
and edx, 0xf
shl edx, 8
shr ecx, 8
or edx, ecx
cmp edx, 0x3fd
jg 0x4bdfe4
movzx ecx, word [eax + 1]
mov edx, ecx
and edx, 0xf
shl edx, 8
shr ecx, 8
or edx, ecx
cmp edx, 5
jl 0x4bdfe4
mov cl, byte [eax + 7]
cmp cl, byte [eax + 6]
jb 0x4bdfe4
test byte [eax + 1], 0x80
je 0x4bdfe4
mov edx, dword [esi + 0x54]
push edi
push edx
call fcn.004bdbe0
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 8