Function at 0x42ae50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x4b61d0]
mov ecx, dword [0x4b61cc]
push ebx
mov eax, edx
sub eax, ecx
push esi
xor ebx, ebx
sar eax, 2
xor esi, esi
push edi
mov dword [0x4b5560], ebx
mov dword [ebp - 0x208], eax
cmp eax, ebx
jbe 0x42aec1
lea ecx, [ecx]
mov edi, dword [ecx + esi*4]
xor ebx, ebx
mov eax, ecx
cmp ecx, edx
je 0x42aeac
jmp 0x42aea0
cmp dword [eax], edi
jne 0x42aea5
inc ebx
add eax, 4
cmp eax, edx
jne 0x42aea0
cmp edi, 0xa
je 0x42aeb6
cmp ebx, 1
je 0x42af0b
inc esi
cmp esi, dword [ebp - 0x208]
jb 0x42ae90
xor ebx, ebx
mov edx, dword [0x4c5790]
mov edi, dword [0x4c578c]
xor esi, esi
nop
xor ecx, ecx
mov eax, edi
cmp edi, edx
je 0x42af76
lea esp, [esp]
cmp dword [eax], esi
jne 0x42aee5
inc ecx
add eax, 4
cmp eax, edx
jne 0x42aee0
cmp ecx, ebx
je 0x42af76
inc esi
cmp esi, 4
jl 0x42aed0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4c578c]
mov ecx, dword [eax + esi*4]
xor ebx, ebx
mov dword [0x4b5560], ecx
cmp byte [0x4b5534], bl
jne 0x42b0f5
call fcn.00463f1c
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
fnstcw word [ebp - 0x206]
movzx eax, word [ebp - 0x206]
fmul qword [0x497a98]
or eax, 0xc00
mov dword [ebp - 0x20c], eax
fmul qword [0x497ab8]
fldcw word [ebp - 0x20c]
fistp qword [ebp - 0x210]
mov edx, dword [ebp - 0x210]
fldcw word [ebp - 0x206]
jmp 0x42afd5
mov dword [0x4b5560], esi
cmp byte [0x4b5534], bl
jne 0x42b0f5
call fcn.00463f1c
fnstcw word [ebp - 0x206]
mov dword [ebp - 0x20c], eax
fild dword [ebp - 0x20c]
movzx eax, word [ebp - 0x206]
or eax, 0xc00
mov dword [ebp - 0x20c], eax
fmul qword [0x497a98]
fmul qword [0x497ab8]
fldcw word [ebp - 0x20c]
fistp qword [ebp - 0x210]
mov edx, dword [ebp - 0x210]
fldcw word [ebp - 0x206]
push 1
sub esp, 0x1c
mov ecx, esp
add edx, 3
mov dword [ebp - 0x20c], esp
mov dword [0x4a84e4], edx
mov byte [0x4b5534], 1
mov esi, 0xf
push 5
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.Spark
mov byte [ecx], bl
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.004018e0
mov eax, dword [0x4b5560]
fld dword [eax*8 + 0x4b0e30]
sub esp, 0x24
fstp dword [esp + 0x20]
mov ecx, esp
fld dword [eax*8 + 0x4b0e2c]
mov dword [ebp - 0x20c], esp
fstp dword [esp + 0x1c]
push 5
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.Spark
mov byte [ecx], bl
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401d70
fld dword [0x498c88]
sub esp, 0x24
fstp dword [esp + 0x20]
mov ecx, esp
fld1
mov dword [ebp - 0x20c], esp
fstp dword [esp + 0x1c]
mov dword [ecx + 0x14], esi
push 5
mov dword [ecx + 0x10], ebx
push str.Spark
mov byte [ecx], bl
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401e50
push ebx
push 1
push 0x36
call fcn.00409510
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20c], esp
mov byte [0x4b553d], 1
push esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.bird_attack_eff
mov byte [ecx], bl
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.004018e0
lea eax, [ebp - 0x204]
push str.Spark__bird_attack_eff__n
push eax
call fcn.00409550
add esp, 8
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret