Function at 0x5a8810
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 0x672646
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x124
mov eax, dword [0x70ab0c]
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 0x5a885c
mov ecx, dword [ebp - 0x12c]
call fcn.005a87c0
mov esi, dword [ebx + 8]
mov edx, esi
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5a8870
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.004435c0
push esi
call fcn.00517450
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.0053e790
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 4], 0
jb 0x5a88b9
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f7c0
test al, al
je 0x5a9bc6
lea ecx, [ebp - 0x120]
call fcn.005402c0
mov eax, dword [0x688a0c]
movq xmm0, qword [str.spreadingflag]
mov dword [ebp - 0x38], eax
mov al, byte [0x688a10]
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.0053efd0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a896a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a895a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a8972
xor al, al
jmp 0x5a897c
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.004435c0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a8a0a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a89fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c03
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a8a12
xor al, al
jmp 0x5a8a1c
cmp dword [ebp - 0x128], 0
setne al
mov byte [edi + 0x1d], al
mov eax, dword [0x688a34]
movq xmm0, qword [str.initialvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x688a38]
mov word [ebp - 0x34], ax
mov al, byte [0x688a3a]
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.0053f2d0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a8ab8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8aa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c08
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x5a9bc6
movq xmm0, qword [str.coneangle]
mov al, byte [0x688a44]
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.0053f2d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8b36
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8b2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c0d
push edx
push ecx
call fcn.005c794c
add esp, 8
movq xmm0, qword [str.rollangle]
mov al, byte [0x688a50]
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.0053f2d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8bac
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c12
push edx
push ecx
call fcn.005c794c
add esp, 8
mov eax, dword [0x688a5c]
movq xmm0, qword [str.angularvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x688a60]
mov word [ebp - 0x34], ax
mov al, byte [0x688a62]
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.0053f1d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8c34
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8c2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c17
push edx
push ecx
call fcn.005c794c
add esp, 8
mov eax, dword [str.gravity]
mov dword [ebp - 0x40], eax
mov ax, word [0x67e110]
mov word [ebp - 0x3c], ax
mov al, byte [0x67e112]
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.0053f2d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8caf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8ca5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c1c
push edx
push ecx
call fcn.005c794c
add esp, 8
mov eax, dword [0x688a6c]
movq xmm0, qword [str.hitonbackground]
mov dword [ebp - 0x38], eax
mov ax, word [0x688a70]
mov word [ebp - 0x34], ax
mov al, byte [0x688a72]
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, [ebp - 0x128]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8d3c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8d32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c21
push edx
push ecx
call fcn.005c794c
add esp, 8
test esi, esi
je 0x5a8d4c
cmp dword [ebp - 0x128], 0
setne al
jmp 0x5a8d4e
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.004435c0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8dcd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8dc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c26
push edx
push ecx
call fcn.005c794c
add esp, 8
test esi, esi
je 0x5a8ddd
cmp dword [ebp - 0x128], 0
setne al
jmp 0x5a8ddf
xor al, al
mov byte [edi + 0x69], al
mov ax, word [0x688a90]
movq xmm0, qword [str.piercecount]
mov word [ebp - 0x38], ax
mov al, byte [0x688a92]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xb
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x36], al
mov byte [ebp - 0x35], 0
lea esi, [edi + 0x6c]
mov byte [ebp - 4], 0xa
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a8e73
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8e63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c2b
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a8e7d
mov dword [esi], 0
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.004435c0
lea eax, [edi + 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5a8ef4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8eea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c30
push edx
push ecx
call fcn.005c794c
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.004435c0
lea esi, [edi + 0x40]
mov byte [ebp - 4], 0xc
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f350
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a8f7c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a8f6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c35
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a8f90
push 0
push 0x6afcce
mov ecx, esi
call fcn.004435c0
jmp 0x5a8ffb
cmp dword [edi + 0x50], 0
je 0x5a8ffb
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5a8fa0
mov eax, dword [esi]
push eax
call fcn.00516f30
add esp, 4
test al, al
jne 0x5a8fdf
push esi
lea ecx, [ebp - 0x120]
call fcn.0053efc0
push eax
call fcn.00516df0
add esp, 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00452360
add esp, 0xc
mov ecx, esi
push eax
call fcn.004454a0
lea ecx, [ebp - 0x40]
call fcn.004437a0
cmp dword [esi + 0x14], 0x10
jb 0x5a8fe7
mov esi, dword [esi]
mov ecx, dword [0x7996fc]
lea eax, [edi + 0x58]
push 0
push 0
push eax
push esi
call fcn.00503b90
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.004435c0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a9086
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9076
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c3a
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a908e
xor al, al
jmp 0x5a9098
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.004435c0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 0xe
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a9123
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9113
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c3f
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
test al, al
je 0x5a9134
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.004435c0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 0xf
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a91bc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a91ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c44
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a91c6
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.004435c0
lea eax, [edi + 0x74]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a924e
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a923e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c49
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x5a9bc6
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.004435c0
lea esi, [edi + 0x78]
mov byte [ebp - 4], 0x11
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f1d0
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a92dd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a92cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9c4e
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a92f9
movaps xmm0, xmmword [ebp - 0x40]
unpcklps xmm0, xmm0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
movq qword [esi], xmm0
mov dword [esi + 8], eax
lea ecx, [ebp - 0x120]
xor edi, edi
call fcn.0053ef60
test eax, eax
je 0x5a9bb8
lea eax, [ebp - 0x120]
mov dword [ebp - 0x134], eax
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x120]
call fcn.00540170
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.0053ef80
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 0xa
jne 0x5a93b8
mov edx, str.attachdata
mov esi, 6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5a9384
add ecx, 4
add edx, 4
sub esi, 4
jae 0x5a9373
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x5a93ab
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5a93ab
cmp esi, 0xfffffffe
je 0x5a93a7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x5a93ab
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x5a93ab
xor eax, eax
jmp 0x5a93b0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5a93b8
mov al, 1
jmp 0x5a93ba
xor al, al
test al, al
je 0x5a9b29
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.type
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004435c0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a9476
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a94d8
lea ecx, [ebp - 0xa0]
call fcn.004a3370
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x5a94bd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a94b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x16
jmp 0x5a9b95
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.004435c0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9552
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9548
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
add esp, 8
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.004435c0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f350
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x5a95dd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a95cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x5a95f8
push 0
push 0x6afcce
lea ecx, [ebp - 0x98]
call fcn.004435c0
jmp 0x5a9688
cmp dword [ebp - 0x88], 0
je 0x5a9688
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.00516f30
add esp, 4
test al, al
jne 0x5a9662
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efc0
push eax
call fcn.00516df0
add esp, 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00452360
add esp, 0xc
lea ecx, [ebp - 0x98]
push eax
call fcn.004454a0
lea ecx, [ebp - 0x58]
call fcn.004437a0
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov ecx, dword [0x7996fc]
cmovae eax, dword [ebp - 0x98]
push 0
push 0
push 0
push eax
call fcn.00503c80
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.004435c0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9702
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a96f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
add esp, 8
cmp dword [ebp - 0x128], 0
je 0x5a98ff
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.004435c0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2c0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a978a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9801
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a97f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9878
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a986e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053efd0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a98f2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a98e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
add esp, 8
cmp dword [ebp - 0x128], 0
setne byte [ebp - 0x70]
jmp 0x5a9903
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.004435c0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a997a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9970
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a99f1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a99e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9a68
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9a5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.004435c0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.0053f2d0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x5a9adf
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9ad5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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 0x5a9b15
push esi
call fcn.005a83e0
add dword [esi + 4], 0x44
lea ecx, [ebp - 0xa0]
add esp, 0xc
call fcn.004a3370
jmp 0x5a9b47
mov ecx, esi
call fcn.005a80e0
lea ecx, [ebp - 0xa0]
call fcn.004a3370
jmp 0x5a9b47
mov ecx, dword [ebp - 0x130]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x5a9b39
mov eax, dword [ecx]
push eax
push str.CFlyingData::LoadScriptFile_Wrong_Data_:__s
call fcn.005165c0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x5a9b7f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9b75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9bfe
push edx
push ecx
call fcn.005c794c
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.005402a0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
inc edi
call fcn.0053ef60
cmp edi, eax
jb 0x5a9320
jmp 0x5a9bbd
mov byte [ebp - 0x121], 1
jmp 0x5a9bcd
mov byte [ebp - 0x121], 0
lea ecx, [ebp - 0x120]
call fcn.0053e9d0
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.005c791b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
call fcn.0060cbd2
int3