Function at 0x443680
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576beb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004cee70
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x4435f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x4438ad
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov esi, ebp
sub esi, eax
sub esi, 5
lea ebx, [eax + ebp + 5]
cmp esi, ebx
jg 0x443655
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
mov eax, 0x1f8
call fcn.0044f600
mov edi, eax
test edi, edi
jne 0x4436a1
inc esi
cmp esi, ebx
jle 0x443633
mov ecx, dword [0x8927a4]
add ecx, 0x80214
mov eax, 0x1f8
call fcn.0044f690
push 0x64
call fcn.0055e5a9
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x18], ebx
je 0x44380b
push 0xffffffffffffffff
push edi
mov ecx, 0x1f8
call fcn.004b4e20
mov dword [edi], vtable.OBlackWall.0
jmp 0x44380d
mov eax, dword [edi + 0x58]
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ebx, dword [edi + 0x4c]
call fcn.004cee70
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x4436e3
mov esi, 1
jmp 0x4436f4
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
cmp esi, eax
jle 0x44373e
mov ebx, dword [edi + 0x4c]
call fcn.004cee70
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x443725
mov esi, 1
jmp 0x443736
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
imul eax, eax, 0xf
mov ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, dword [edi + 0x4c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push 1
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], ecx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ebx, dword [edi + 0x44]
call fcn.004cee70
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x443792
mov esi, 1
jmp 0x4437a3
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 2]
cdq
sub eax, edx
mov edx, dword [edi + 0x44]
push 1
lea ecx, [esp + 0x2c]
push ecx
sar eax, 1
push edx
mov dword [esp + 0x34], eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [edi + 0x60]
mov al, byte [esp + 0x30]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x3c], al
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
push 0x592c38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [edi + 0x44]
push 1
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebp
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x4c]
mov edx, dword [esp + 0x28]
push 1
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], edx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x2c]
mov dword [edi + 0x50], ebx
mov ecx, dword [edi + 0x58]
push eax
push ecx
mov dword [esp + 0x34], edx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [edi + 0x60]
mov dl, byte [esp + 0x30]
push 1
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x3c], dl
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
push 0x592c20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x8927a4]
push edi
add ecx, 0x80214
call fcn.0053bc60
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14