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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ef26
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], ecx
jmp 0x578959
mov ecx, dword [ebp - 0x110]
call fcn.005788c0
mov esi, dword [ebp + 8]
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x578970
sub edx, edi
mov edi, dword [ebp - 0x110]
push edx
push esi
lea esi, [edi + 4]
mov ecx, esi
call fcn.0043e260
push esi
call fcn.004e9920
add esp, 4
lea ecx, [ebp - 0x104]
call fcn.00513bf0
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 4], 0
jb 0x5789b0
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514c10
test al, al
je 0x579730
lea ecx, [ebp - 0x104]
call fcn.005154f0
push str.spreadingflag
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x578a30
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x578a26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
jne 0x578a38
xor al, al
jmp 0x578a42
cmp dword [ebp - 0x108], 0
setne al
push str.maintainparallelflag
lea ecx, [ebp - 0x28]
mov byte [edi + 0x1c], al
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x578aa6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x578a9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57976b
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
jne 0x578aae
xor al, al
jmp 0x578ab8
cmp dword [ebp - 0x108], 0
setne al
push str.initialvelocity
lea ecx, [ebp - 0x28]
mov byte [edi + 0x1d], al
call fcn.0043eb80
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x578b19
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x578b0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579770
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x579730
push str.coneangle
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0043e620
push str.rollangle
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [edi + 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0043e620
push str.angularvelocity
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514610
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0043e620
push str.gravity
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [edi + 0x38]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0043e620
push str.hitonbackground
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
je 0x578c26
cmp dword [ebp - 0x108], 0
setne al
jmp 0x578c28
xor al, al
push str.hitonanothermonster
lea ecx, [ebp - 0x28]
mov byte [edi + 0x68], al
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
je 0x578c70
cmp dword [ebp - 0x108], 0
setne al
jmp 0x578c72
xor al, al
push str.piercecount
lea ecx, [ebp - 0x28]
mov byte [edi + 0x69], al
call fcn.0043eb80
add edi, 0x6c
mov byte [ebp - 4], 0xa
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578cad
mov dword [edi], esi
push str.bombrange
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0043e620
push str.bombeffect
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea edi, [esi + 0x40]
mov byte [ebp - 4], 0xc
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578d28
push esi
push 0x67844e
mov ecx, edi
call fcn.0043e260
jmp 0x578d97
mov esi, dword [ebp - 0x110]
cmp dword [esi + 0x50], 0
je 0x578d97
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x578d3e
mov eax, dword [edi]
push eax
call fcn.004e9420
add esp, 4
test al, al
jne 0x578d7d
push edi
lea ecx, [ebp - 0x104]
call fcn.00514400
push eax
call fcn.004e91b0
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d990
add esp, 0xc
mov ecx, edi
push eax
call fcn.0043ef60
lea ecx, [ebp - 0x28]
call fcn.0043e620
cmp dword [edi + 0x14], 0x10
jb 0x578d85
mov edi, dword [edi]
mov ecx, dword [0x722fec]
lea eax, [esi + 0x58]
push 0
push eax
push edi
call fcn.004d5e90
push str.homingflag
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578dd4
xor al, al
jmp 0x578dde
cmp dword [ebp - 0x108], 0
setne al
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x28]
push str.homingstarttime
mov byte [esi + 0x5c], al
call fcn.0043eb80
lea edi, [esi + 0x64]
mov byte [ebp - 4], 0xe
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578e1f
mov dword [edi], esi
push str.homingmaxangle
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x28]
add edi, 0x60
mov byte [ebp - 4], 0xf
push edi
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578e5d
mov dword [edi], esi
push str.range
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov edi, dword [ebp - 0x110]
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x10
lea eax, [edi + 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514710
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
je 0x579730
push str.acceleration
lea ecx, [ebp - 0x28]
call fcn.0043eb80
add edi, 0x78
mov byte [ebp - 4], 0x11
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514610
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043e620
test esi, esi
jne 0x578edb
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
xor esi, esi
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x114], esi
call fcn.005143a0
test eax, eax
je 0x579722
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x104]
mov dword [ebp - 0x118], eax
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x104]
call fcn.005153b0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x104]
call fcn.005143c0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
cmp esi, 0xa
jne 0x57968b
mov edx, str.attachdata
sub esi, 4
jb 0x578f81
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x578f86
add ecx, 4
add edx, 4
sub esi, 4
jae 0x578f70
cmp esi, 0xfffffffc
je 0x578fba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x578fb3
cmp esi, 0xfffffffd
je 0x578fba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x578fb3
cmp esi, 0xfffffffe
je 0x578fba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x578fb3
cmp esi, 0xffffffff
je 0x578fba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x578fba
sbb eax, eax
or eax, 1
jmp 0x578fbc
xor eax, eax
test eax, eax
jne 0x57968b
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], al
push str.type
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.0043eb80
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x57903d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579033
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
jne 0x5790e2
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x13
cmp ecx, 0x10
jb 0x57907d
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579073
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x5790c7
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5790bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x16
jmp 0x5796f3
push str.flytype
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x57913e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579134
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.attachfile
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x57919c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579192
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
jne 0x5791b6
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x6c], esi
cmovae eax, dword [ebp - 0x7c]
mov byte [eax], 0
jmp 0x5792c1
cmp dword [ebp - 0x6c], 0
je 0x5792c1
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
call fcn.004e9420
add esp, 4
test al, al
jne 0x5792a6
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514400
push eax
call fcn.004e91b0
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d990
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x579272
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x57923e
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579234
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x5792a6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57929c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
mov ecx, dword [0x722fec]
cmovae eax, dword [ebp - 0x7c]
push 0
push 0
push eax
call fcn.004d5f70
push str.tailflag
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x579320
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579316
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
cmp dword [ebp - 0x108], 0
je 0x5794b1
push str.tailcolor
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x64], 1
call fcn.0043eb80
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514700
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x57938d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.taillength
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x5793e9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5793df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.tailsize
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x579445
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57943b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.tailshaperect
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514410
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x5794a4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57949a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
cmp dword [ebp - 0x108], 0
setne byte [ebp - 0x54]
jmp 0x5794b5
mov byte [ebp - 0x64], 0
push str.roll
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x579511
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579507
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.distance
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x57956d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579563
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.period
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x5795c9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5795bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
push str.amplitude
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x104]
call fcn.00514710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x579625
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57961b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
lea ecx, [ebp - 0x84]
push ecx
push eax
cmp eax, dword [esi + 8]
je 0x57964d
push esi
call fcn.005784b0
add esp, 0xc
add dword [esi + 4], 0x44
jmp 0x579654
mov ecx, esi
call fcn.005781b0
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x13
cmp ecx, 0x10
jb 0x5796a5
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x579682
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
jmp 0x5796a2
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x579697
mov eax, dword [edi + 4]
push eax
push str.CFlyingData::LoadScriptFile_Wrong_Data_:__s
call fcn.004e89b0
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x5796dd
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5796d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x579766
push ecx
push edx
call fcn.00597369
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x104]
call fcn.005154d0
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0x104]
inc esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x114], esi
call fcn.005143a0
cmp esi, eax
jb 0x578f10
jmp 0x579727
mov byte [ebp - 0x109], 1
jmp 0x579737
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x104]
call fcn.00513e40
mov al, byte [ebp - 0x109]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
ret 4
call fcn.005dd260
call fcn.005dd260
call fcn.005dd260
int3