Function at 0x45aa50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x572d01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [esp + 0xa8]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x50]
mov dword [ebx + 0x70], eax
call fcn.004021e0
mov eax, dword [ebx + 0x70]
xor ebp, ebp
sub eax, ebp
mov dword [esp + 0xb0], ebp
je 0x45ab81
dec eax
jne 0x45acb9
lea ecx, [esp + 0x13]
push ecx
push str.adveffect038parts01.png
lea ecx, [esp + 0x28]
call fcn.00402250
lea edx, [esp + 0x20]
push edx
lea ecx, [ebx + 4]
mov byte [esp + 0xb4], 4
call fcn.004a77e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0xb0], 0
je 0x45aaf9
cmp eax, 0x80
jbe 0x45aaef
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45aaf9
push eax
push ecx
call fcn.0050e390
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.adveffect038_ryu_type2.png
lea ecx, [esp + 0x4c]
call fcn.00402250
lea ecx, [esp + 0x44]
push ecx
lea ecx, [ebx + 0x24]
mov byte [esp + 0xb4], 5
call fcn.004a77e0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0xb0], 0
je 0x45ab53
cmp eax, 0x80
jbe 0x45ab49
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45ab53
push eax
push ecx
call fcn.0050e390
add esp, 8
push 0x5825f4
push str.adveffect038_ball_mat2.bmp
lea ecx, [esp + 0x58]
call fcn.004027f0
mov edx, dword [0x5beeb0]
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0xa0], 5
jmp 0x45acb9
lea eax, [esp + 0x13]
push eax
push str.adveffect038parts01.png
lea ecx, [esp + 0x34]
call fcn.00402250
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [ebx + 4]
mov byte [esp + 0xb4], 1
call fcn.004a77e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0xb0], 0
je 0x45abdb
cmp eax, 0x80
jbe 0x45abd1
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45abdb
push eax
push ecx
call fcn.0050e390
add esp, 8
lea edx, [esp + 0x13]
push edx
push str.adveffect038Ryu.png
lea ecx, [esp + 0x70]
call fcn.00402250
lea eax, [esp + 0x68]
push eax
lea ecx, [ebx + 0x24]
mov byte [esp + 0xb4], 2
call fcn.004a77e0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0xb0], 0
je 0x45ac35
cmp eax, 0x80
jbe 0x45ac2b
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45ac35
push eax
push ecx
call fcn.0050e390
add esp, 8
lea ecx, [esp + 0x13]
push ecx
push str.adveffect038_ryu_line.png
lea ecx, [esp + 0x64]
call fcn.00402250
lea edx, [esp + 0x5c]
push edx
lea ecx, [ebx + 0x44]
mov byte [esp + 0xb4], 3
call fcn.004a77e0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0xb0], 0
je 0x45ac8f
cmp eax, 0x80
jbe 0x45ac85
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45ac8f
push eax
push ecx
call fcn.0050e390
add esp, 8
push 0x5825a3
push 0x582588
lea ecx, [esp + 0x58]
call fcn.004027f0
mov eax, dword [0x5beeb0]
mov ecx, dword [0x5beeb4]
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], ecx
lea ecx, [esp + 0x78]
mov byte [ebx + 0x64], 0xff
mov byte [ebx + 0x65], 0x4c
mov dword [ebx + 0x68], 0x3c
mov dword [ebx + 0x6c], ebp
call fcn.004ac0e0
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 6
call fcn.0045a940
lea ecx, [esp + 0x78]
call fcn.00509990
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], eax
call fcn.004ef830
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 7
call dword [edx + 0x18]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], eax
lea esi, [ebx + 0x7c]
push 0x12c
mov ecx, esi
mov byte [esp + 0xb4], 8
call fcn.0045a890
lea edi, [ebx + 0x88]
push 0x12c
mov ecx, edi
call fcn.0045a890
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x40], ebp
jbe 0x45ae4d
mov dword [esp + 0x18], 0x3be
lea ecx, [ecx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jbe 0x45ae31
mov ebp, 2
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + ecx]
dec eax
je 0x45adda
dec eax
jne 0x45ae15
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
je 0x45adc8
test eax, eax
je 0x45adc2
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 4], 8
jmp 0x45ae15
push 1
push 1
lea edx, [esp + 0x1b]
lea ecx, [esp + 0x4c]
push edx
push ecx
mov ecx, edi
jmp 0x45ae0f
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
je 0x45adff
test eax, eax
je 0x45adf9
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 4], 8
jmp 0x45ae15
push 1
push 1
lea edx, [esp + 0x1b]
lea ecx, [esp + 0x28]
push edx
push ecx
mov ecx, esi
push eax
call fcn.0045a730
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc eax
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x3c], eax
jb 0x45ad95
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ebp
sub ecx, 4
cmp ebp, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], ecx
jb 0x45ad70
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 7
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp ecx, esi
mov byte [esp + 0xb0], 6
je 0x45ae77
call fcn.004016a0
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 0
call fcn.004ac120
mov eax, dword [ebx + 0x70]
dec eax
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x94], esi
jne 0x45af46
lea ebp, [ebx + 0x78]
mov dword [esp + 0x14], 0x64
lea esp, [esp]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
push eax
call fcn.004956d0
mov ecx, dword [edi]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.0045a070
mov esi, dword [ebp]
push eax
mov ecx, ebp
call fcn.0045a040
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [esi + 4], eax
mov eax, dword [ebp]
mov esi, dword [eax + 4]
push 0x320
push 0x1e
call fcn.004956f0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 8
dec eax
fld st(0)
mov dword [esp + 0x14], eax
fmul dword [esi + 0x14]
fadd dword [esi + 8]
fstp dword [esi + 8]
fld st(0)
fmul dword [esi + 0x18]
fadd dword [esi + 0xc]
fstp dword [esi + 0xc]
fmul dword [esi + 0x1c]
fadd dword [esi + 0x10]
fstp dword [esi + 0x10]
jne 0x45aeb0
mov esi, 0x50
jmp 0x45af50
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
dec esi
jne 0x45af50
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
sub eax, ecx
test ecx, ecx
mov dword [esp + 0xb0], 0xffffffff
je 0x45af8f
cmp eax, 0x80
jbe 0x45af85
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x45af8f
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4