Function at 0x575a54
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x575a5c
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x575dda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x4c0], 0
je 0x575a8b
mov edx, 1
mov eax, ebx
call fcn.005758e8
mov eax, dword [ebx + 0x45c]
mov edx, dword [eax]
call dword [edx + 0xdc]
test al, al
je 0x575d45
cmp byte [ebx + 0x4c0], 0
je 0x575b6b
mov eax, ebx
call fcn.00576574
test al, al
jne 0x575b5f
cmp dword [ebx + 0x474], 0
jne 0x575ad8
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], 0x577368
push 0
push 0
lea eax, [ebp - 4]
mov ecx, 0x575df4
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 0x575e1c
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.00579230
jmp 0x575d80
mov byte [ebx + 0x4e8], 1
jmp 0x575d80
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x494]
mov edx, 0x575e2c
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, 0x575e78
call fcn.0045c580
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.004070b4
test eax, eax
jle 0x575ca6
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, 0x575e9c
call fcn.00406b1c
mov eax, dword [ebp - 0x20]
call fcn.004067d4
push eax
call fcn.00409980
cmp esi, 0x3e
jne 0x575c9a
cmp dword [ebx + 0x474], 0
jne 0x575c13
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], 0x577368
push 0
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x575df4
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 0x575e1c
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.00579230
jmp 0x575d80
mov byte [ebx + 0x4e8], 1
jmp 0x575d80
cmp dword [ebx + 0x474], 0
jne 0x575cc1
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], 0x577368
push 0
push 0
lea eax, [ebp - 0x38]
mov ecx, 0x575df4
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 0x575e1c
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.00579230
jmp 0x575d80
lea edx, [ebp - 0x48]
mov eax, 1
call fcn.0045d25c
mov eax, dword [ebp - 0x48]
push eax
push 0x575e1c
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.00579230
push dword [ebx + 0x500]
push dword [ebx + 0x478]
push 0x575ef8
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.0057965c
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 0x575de1
lea eax, [ebp - 0x54]
mov edx, 0x15
call fcn.00406740
ret