Function at 0x575acc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x575ad4
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x575e52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x4c0], 0
je 0x575b03
mov edx, 1
mov eax, ebx
call fcn.00575960
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x575dbd
cmp byte [ebx + 0x4c0], 0
je 0x575be3
mov eax, ebx
call fcn.005765ec
test al, al
jne 0x575bd7
cmp dword [ebx + 0x474], 0
jne 0x575b50
mov dl, 1
mov eax, dword [0x4f6454]
call fcn.004f65b4
mov dword [ebx + 0x474], eax
mov esi, dword [ebx + 0x474]
mov dword [esi + 0x78], 0x1e
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], 0x5773c4
push 0
push 0
lea eax, [ebp - 4]
mov ecx, 0x575e6c
mov edx, dword [ebx + 0x500]
call fcn.00406b1c
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x4b0]
mov eax, esi
call fcn.004f66c4
lea edx, [ebp - 8]
mov eax, 2
call fcn.0045d25c
mov eax, dword [ebp - 8]
push eax
push 0x575e94
push 0
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.0045d25c
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.0045d25c
mov edx, dword [ebp - 0x10]
mov eax, ebx
pop ecx
call fcn.0057928c
jmp 0x575df8
mov byte [ebx + 0x4e8], 1
jmp 0x575df8
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x494]
mov edx, 0x575ea4
call fcn.00406b1c
mov eax, dword [ebp - 0x14]
call fcn.004067d4
push eax
call fcn.00409980
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x494]
call fcn.0045c580
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x575ef0
call fcn.0045c580
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.004070b4
test eax, eax
jle 0x575d1e
call fcn.00573af4
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0045d468
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x575f14
call fcn.00406b1c
mov eax, dword [ebp - 0x20]
call fcn.004067d4
push eax
call fcn.00409980
cmp esi, 0x3e
jne 0x575d12
cmp dword [ebx + 0x474], 0
jne 0x575c8b
mov dl, 1
mov eax, dword [0x4f6454]
call fcn.004f65b4
mov dword [ebx + 0x474], eax
mov esi, dword [ebx + 0x474]
mov dword [esi + 0x78], 0x1e
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], 0x5773c4
push 0
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x575e6c
mov edx, dword [ebx + 0x500]
call fcn.00406b1c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x4b0]
mov eax, esi
call fcn.004f66c4
lea edx, [ebp - 0x2c]
mov eax, 2
call fcn.0045d25c
mov eax, dword [ebp - 0x2c]
push eax
push 0x575e94
push 0
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.0045d25c
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0045d25c
mov edx, dword [ebp - 0x34]
mov eax, ebx
pop ecx
call fcn.0057928c
jmp 0x575df8
mov byte [ebx + 0x4e8], 1
jmp 0x575df8
cmp dword [ebx + 0x474], 0
jne 0x575d39
mov dl, 1
mov eax, dword [0x4f6454]
call fcn.004f65b4
mov dword [ebx + 0x474], eax
mov esi, dword [ebx + 0x474]
mov dword [esi + 0x78], 0x1e
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], 0x5773c4
push 0
push 0
lea eax, [ebp - 0x38]
mov ecx, 0x575e6c
mov edx, dword [ebx + 0x500]
call fcn.00406b1c
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x4b0]
mov eax, esi
call fcn.004f66c4
lea edx, [ebp - 0x3c]
mov eax, 2
call fcn.0045d25c
mov eax, dword [ebp - 0x3c]
push eax
push 0x575e94
push 0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0045d25c
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, 1
call fcn.0045d25c
mov edx, dword [ebp - 0x44]
mov eax, ebx
pop ecx
call fcn.0057928c
jmp 0x575df8
lea edx, [ebp - 0x48]
mov eax, 1
call fcn.0045d25c
mov eax, dword [ebp - 0x48]
push eax
push 0x575e94
push 0
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.0045d25c
mov eax, dword [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
xor eax, eax
call fcn.0045d25c
mov edx, dword [ebp - 0x50]
mov eax, ebx
pop ecx
call fcn.0057928c
push dword [ebx + 0x500]
push dword [ebx + 0x478]
push 0x575f70
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00406bec
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebx + 0x480]
mov eax, ebx
call fcn.005796b8
mov edx, dword [ebx + 0x380]
mov eax, dword [ebx + 0x378]
call fcn.00572fa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575e59
lea eax, [ebp - 0x54]
mov edx, 0x15
call fcn.00406740
ret