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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6416b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x124
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
jmp 0x58542c
mov ecx, dword [ebp - 0x12c]
call fcn.00585380
mov esi, dword [ebx + 8]
mov edx, esi
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x585440
sub edx, edi
mov edi, dword [ebp - 0x12c]
push edx
push esi
lea eax, [edi + 4]
lea esi, [edi + 4]
mov dword [ebp - 0x130], eax
mov ecx, esi
call fcn.00451ee0
push esi
call fcn.004efd20
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.005113f0
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 4], 0
jb 0x585489
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x120]
call fcn.00512470
test al, al
je 0x586767
lea ecx, [ebp - 0x120]
call fcn.00512d60
mov eax, dword [0x66e1f0]
movq xmm0, qword [str.spreadingflag]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], eax
mov al, byte [0x66e1f4]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xd
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], 0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585545
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58554d
xor al, al
jmp 0x585557
cmp dword [ebp - 0x128], 0
setne al
mov byte [edi + 0x1c], al
lea ecx, [ebp - 0x40]
push 0x14
mov dword [ebp - 0x40], 0
push str.maintainparallelflag
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x5855e5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5855d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867a4
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5855ed
xor al, al
jmp 0x5855f7
cmp dword [ebp - 0x128], 0
setne al
mov byte [edi + 0x1d], al
mov eax, dword [0x66e218]
movq xmm0, qword [str.initialvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x66e21c]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x34], ax
mov al, byte [0x66e21e]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], 0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x58569e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58568e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867a9
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x586767
movq xmm0, qword [str.coneangle]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], al
mov al, byte [0x66e228]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 9
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x585726
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58571c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867ae
push ecx
push edx
call fcn.005994f5
add esp, 8
movq xmm0, qword [str.rollangle]
mov al, byte [0x66e234]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 9
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [edi + 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5857a7
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58579d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867b3
push ecx
push edx
call fcn.005994f5
add esp, 8
mov eax, dword [0x66e240]
movq xmm0, qword [str.angularvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x66e244]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x34], ax
mov al, byte [0x66e246]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], 0
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511e20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x58583a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585830
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867b8
push ecx
push edx
call fcn.005994f5
add esp, 8
mov eax, dword [str.gravity]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x6644fc]
mov word [ebp - 0x3c], ax
mov al, byte [0x6644fe]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 7
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x39], 0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5858c0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5858b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867bd
push ecx
push edx
call fcn.005994f5
add esp, 8
push 0xf
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.hitonbackground
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0044f920
test esi, esi
je 0x585920
cmp dword [ebp - 0x128], 0
setne al
jmp 0x585922
xor al, al
mov byte [edi + 0x68], al
lea ecx, [ebp - 0x40]
push 0x13
mov dword [ebp - 0x40], 0
push str.hitonanothermonster
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5859a1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585997
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867c2
push ecx
push edx
call fcn.005994f5
add esp, 8
test esi, esi
je 0x5859b1
cmp dword [ebp - 0x128], 0
setne al
jmp 0x5859b3
xor al, al
mov byte [edi + 0x69], al
lea ecx, [ebp - 0x40]
push 0xb
mov dword [ebp - 0x40], 0
push str.piercecount
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
add edi, 0x6c
mov byte [ebp - 4], 0xa
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0044f920
test esi, esi
jne 0x585a09
mov dword [edi], esi
push 9
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.bombrange
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
mov edi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xb
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x585a86
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585a7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867c7
push ecx
push edx
call fcn.005994f5
add esp, 8
push 0xa
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.bombeffect
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea esi, [edi + 0x40]
mov byte [ebp - 4], 0xc
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511fa0
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585b0e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585afe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867cc
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x585b22
push 0
push 0x650d78
mov ecx, esi
call fcn.00451ee0
jmp 0x585b8b
cmp dword [edi + 0x50], 0
je 0x585b8b
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x585b32
mov eax, dword [esi]
push eax
call fcn.004ef820
add esp, 4
test al, al
jne 0x585b71
push esi
lea ecx, [ebp - 0x120]
call fcn.00511c10
push eax
call fcn.004ef6e0
add esp, 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00584b30
add esp, 0xc
mov ecx, esi
push eax
call fcn.004faa46
lea ecx, [ebp - 0x40]
call fcn.0044f920
cmp dword [esi + 0x14], 0x10
jb 0x585b79
mov esi, dword [esi]
mov ecx, dword [0x6e8348]
lea eax, [edi + 0x58]
push 0
push eax
push esi
call fcn.004dca80
push 0xa
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.homingflag
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585c16
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585c06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867d1
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x585c1e
xor al, al
jmp 0x585c28
cmp dword [ebp - 0x128], 0
setne al
mov byte [edi + 0x5c], al
lea ecx, [ebp - 0x40]
push 0xf
mov dword [ebp - 0x40], 0
push str.homingstarttime
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00451ee0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 0xe
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585cb3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867d6
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
test al, al
je 0x585cc4
mov dword [esi], 0
push 0xe
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.homingmaxangle
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 0xf
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585d4c
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585d3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867db
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x585d56
mov dword [esi], 0
push 5
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.range
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [edi + 0x74]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585dde
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585dce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5867e0
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x586767
push 0xc
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.acceleration
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00451ee0
add edi, 0x78
mov byte [ebp - 4], 0x11
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511e20
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0044f920
test esi, esi
jne 0x585e49
movaps xmm0, xmmword [ebp - 0x40]
mov eax, esi
unpcklps xmm0, xmm0
movq qword [edi], xmm0
mov dword [ebp - 0x44], esi
mov dword [edi + 8], eax
lea ecx, [ebp - 0x120]
xor edi, edi
call fcn.00511bb0
test eax, eax
je 0x586759
lea eax, [ebp - 0x120]
mov dword [ebp - 0x134], eax
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x120]
call fcn.00512c20
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x120]
call fcn.00511bd0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
cmp esi, 0xa
jne 0x585f19
mov edx, str.attachdata
sub esi, 4
jb 0x585ed6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x585edb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x585ec5
cmp esi, 0xfffffffc
je 0x585f0f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x585f08
cmp esi, 0xfffffffd
je 0x585f0f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x585f08
cmp esi, 0xfffffffe
je 0x585f0f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x585f08
cmp esi, 0xffffffff
je 0x585f0f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x585f0f
sbb eax, eax
or eax, 1
jmp 0x585f11
xor eax, eax
test eax, eax
jne 0x585f19
mov al, 1
jmp 0x585f1b
xor al, al
test al, al
je 0x5866ca
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x58], 0x65707974
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x585fc4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585fb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x586026
lea ecx, [ebp - 0xa0]
call fcn.004793c0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x58600b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586001
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x16
jmp 0x586736
push 7
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.flytype
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
call fcn.0044f920
push 0xa
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.attachfile
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511fa0
mov ecx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp ecx, 0x10
jb 0x5860ff
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5860ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58611a
push 0
push 0x650d78
lea ecx, [ebp - 0x98]
call fcn.00451ee0
jmp 0x586229
cmp dword [ebp - 0x88], 0
je 0x586229
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.004ef820
add esp, 4
test al, al
jne 0x586205
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c10
push eax
call fcn.004ef6e0
add esp, 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00584b30
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x98]
cmp eax, esi
je 0x5861fd
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x5861ba
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5861b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x58]
call fcn.0044f920
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov ecx, dword [0x6e8348]
cmovae eax, dword [ebp - 0x98]
push 0
push 0
push eax
call fcn.004dcb60
push 8
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.tailflag
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x5862a3
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586299
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
cmp dword [ebp - 0x128], 0
je 0x5864a0
push 9
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.tailcolor
mov byte [ebp - 0x80], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f10
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x58632b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586321
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 0xa
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.taillength
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x5863a2
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586398
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 8
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.tailsize
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x586419
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58640f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 0xd
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.tailshaperect
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511c20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x586493
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586489
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
cmp dword [ebp - 0x128], 0
setne byte [ebp - 0x70]
jmp 0x5864a4
mov byte [ebp - 0x80], 0
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.roll
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x58651b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 8
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.distance
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x586592
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 6
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.period
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x586609
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5865ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
push 9
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.amplitude
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00451ee0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00511f20
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp ecx, 0x10
jb 0x586680
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586676
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
add esp, 8
mov esi, dword [ebp - 0x12c]
lea ecx, [ebp - 0xa0]
add esi, 0x84
push ecx
mov eax, dword [esi + 4]
push eax
cmp eax, dword [esi + 8]
je 0x5866b6
push esi
call fcn.00584fa0
add dword [esi + 4], 0x44
lea ecx, [ebp - 0xa0]
add esp, 0xc
call fcn.004793c0
jmp 0x5866e8
mov ecx, esi
call fcn.00584ca0
lea ecx, [ebp - 0xa0]
call fcn.004793c0
jmp 0x5866e8
mov ecx, dword [ebp - 0x130]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x5866da
mov eax, dword [ecx]
push eax
push str.CFlyingData::LoadScriptFile_Wrong_Data_:__s
call fcn.004ef1c0
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x586720
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58679f
push ecx
push edx
call fcn.005994f5
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 - 0x120]
call fcn.00512d40
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
inc edi
call fcn.00511bb0
cmp edi, eax
jb 0x585e70
jmp 0x58675e
mov byte [ebp - 0x121], 1
jmp 0x58676e
mov byte [ebp - 0x121], 0
lea ecx, [ebp - 0x120]
call fcn.00511640
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
call fcn.005e01aa
int3