Function at 0x58ca70
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 0x64a9f6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x124
mov eax, dword [0x6f8458]
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 0x58cabc
mov ecx, dword [ebp - 0x12c]
call fcn.0058ca20
mov esi, dword [ebx + 8]
mov edx, esi
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x58cad0
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.0044e1e0
push esi
call fcn.004fbe60
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.005210b0
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 4], 0
jb 0x58cb19
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x120]
call fcn.005220f0
test al, al
je 0x58de24
lea ecx, [ebp - 0x120]
call fcn.00522bd0
mov eax, dword [0x66cd24]
movq xmm0, qword [str.spreadingflag]
mov dword [ebp - 0x38], eax
mov al, byte [0x66cd28]
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.00521900
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58cbca
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cbba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58cbd2
xor al, al
jmp 0x58cbdc
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.0044e1e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58cc6a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cc5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de61
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58cc72
xor al, al
jmp 0x58cc7c
cmp dword [ebp - 0x128], 0
setne al
mov byte [edi + 0x1d], al
mov eax, dword [0x66cd4c]
movq xmm0, qword [str.initialvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x66cd50]
mov word [ebp - 0x34], ax
mov al, byte [0x66cd52]
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.00521c00
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58cd18
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cd08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de66
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x58de24
movq xmm0, qword [str.coneangle]
mov al, byte [0x66cd5c]
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.00521c00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58cd96
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cd8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de6b
push edx
push ecx
call fcn.005ab7be
add esp, 8
movq xmm0, qword [str.rollangle]
mov al, byte [0x66cd68]
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.00521c00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58ce0c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58ce02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de70
push edx
push ecx
call fcn.005ab7be
add esp, 8
mov eax, dword [0x66cd74]
movq xmm0, qword [str.angularvelocity]
mov dword [ebp - 0x38], eax
mov ax, word [0x66cd78]
mov word [ebp - 0x34], ax
mov al, byte [0x66cd7a]
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.00521b00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58ce94
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58ce8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de75
push edx
push ecx
call fcn.005ab7be
add esp, 8
mov eax, dword [str.gravity]
mov dword [ebp - 0x40], eax
mov ax, word [0x661c20]
mov word [ebp - 0x3c], ax
mov al, byte [0x661c22]
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.00521c00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58cf0f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cf05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de7a
push edx
push ecx
call fcn.005ab7be
add esp, 8
mov eax, dword [0x66cd84]
movq xmm0, qword [str.hitonbackground]
mov dword [ebp - 0x38], eax
mov ax, word [0x66cd88]
mov word [ebp - 0x34], ax
mov al, byte [0x66cd8a]
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.00521900
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58cf9c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58cf92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de7f
push edx
push ecx
call fcn.005ab7be
add esp, 8
test esi, esi
je 0x58cfac
cmp dword [ebp - 0x128], 0
setne al
jmp 0x58cfae
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.0044e1e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58d02d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de84
push edx
push ecx
call fcn.005ab7be
add esp, 8
test esi, esi
je 0x58d03d
cmp dword [ebp - 0x128], 0
setne al
jmp 0x58d03f
xor al, al
mov byte [edi + 0x69], al
mov ax, word [0x66cda8]
movq xmm0, qword [str.piercecount]
mov word [ebp - 0x38], ax
mov al, byte [0x66cdaa]
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.00521900
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d0d3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d0c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de89
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d0dd
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.0044e1e0
lea eax, [edi + 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x58d154
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d14a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de8e
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea esi, [edi + 0x40]
mov byte [ebp - 4], 0xc
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c80
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d1dc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d1cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de93
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d1f0
push 0
push 0x6942cc
mov ecx, esi
call fcn.0044e1e0
jmp 0x58d259
cmp dword [edi + 0x50], 0
je 0x58d259
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x58d200
mov eax, dword [esi]
push eax
call fcn.004fb940
add esp, 4
test al, al
jne 0x58d23f
push esi
lea ecx, [ebp - 0x120]
call fcn.005218f0
push eax
call fcn.004fb800
add esp, 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045c0e0
add esp, 0xc
mov ecx, esi
push eax
call fcn.004623b0
lea ecx, [ebp - 0x40]
call fcn.0044e3c0
cmp dword [esi + 0x14], 0x10
jb 0x58d247
mov esi, dword [esi]
mov ecx, dword [0x78574c]
lea eax, [edi + 0x58]
push 0
push eax
push esi
call fcn.004e8680
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.0044e1e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d2e4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d2d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de98
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d2ec
xor al, al
jmp 0x58d2f6
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.0044e1e0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 0xe
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d381
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d371
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de9d
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
test al, al
je 0x58d392
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.0044e1e0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 0xf
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d41a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d40a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58dea2
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d424
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.0044e1e0
lea eax, [edi + 0x74]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d4ac
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d49c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58dea7
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x58de24
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.0044e1e0
lea esi, [edi + 0x78]
mov byte [ebp - 4], 0x11
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521b00
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d53b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d52b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58deac
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d557
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.00521890
test eax, eax
je 0x58de16
lea eax, [ebp - 0x120]
mov dword [ebp - 0x134], eax
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x120]
call fcn.00522a80
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.005218b0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 0xa
jne 0x58d618
mov edx, str.attachdata
mov esi, 6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x58d5e4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x58d5d3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x58d60b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x58d60b
cmp esi, 0xfffffffe
je 0x58d607
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x58d60b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x58d60b
xor eax, eax
jmp 0x58d610
sbb eax, eax
or eax, 1
test eax, eax
jne 0x58d618
mov al, 1
jmp 0x58d61a
xor al, al
test al, al
je 0x58dd87
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.0044e1e0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d6d6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d6c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d738
lea ecx, [ebp - 0xa0]
call fcn.004a8810
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x58d71d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d713
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x16
jmp 0x58ddf3
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.0044e1e0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58d7b2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d7a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c80
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 0x14
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x58d83d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d82d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
je 0x58d858
push 0
push 0x6942cc
lea ecx, [ebp - 0x98]
call fcn.0044e1e0
jmp 0x58d8e6
cmp dword [ebp - 0x88], 0
je 0x58d8e6
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.004fb940
add esp, 4
test al, al
jne 0x58d8c2
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x120]
call fcn.005218f0
push eax
call fcn.004fb800
add esp, 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045c0e0
add esp, 0xc
lea ecx, [ebp - 0x98]
push eax
call fcn.004623b0
lea ecx, [ebp - 0x58]
call fcn.0044e3c0
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov ecx, dword [0x78574c]
cmovae eax, dword [ebp - 0x98]
push 0
push 0
push eax
call fcn.004e8760
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.0044e1e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58d960
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d956
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
add esp, 8
cmp dword [ebp - 0x128], 0
je 0x58db5d
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.0044e1e0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521bf0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58d9e8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58d9de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58da5f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58da55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58dad6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58dacc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521900
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58db50
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58db46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
add esp, 8
cmp dword [ebp - 0x128], 0
setne byte [ebp - 0x70]
jmp 0x58db61
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.0044e1e0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58dbd8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58dbce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58dc4f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58dc45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58dcc6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58dcbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.0044e1e0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x120]
call fcn.00521c00
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x58dd3d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58dd33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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 0x58dd73
push esi
call fcn.0058c640
add dword [esi + 4], 0x44
lea ecx, [ebp - 0xa0]
add esp, 0xc
call fcn.004a8810
jmp 0x58dda5
mov ecx, esi
call fcn.0058c340
lea ecx, [ebp - 0xa0]
call fcn.004a8810
jmp 0x58dda5
mov ecx, dword [ebp - 0x130]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x58dd97
mov eax, dword [ecx]
push eax
push str.CFlyingData::LoadScriptFile_Wrong_Data_:__s
call fcn.004fafd0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x58dddd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58ddd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58de5c
push edx
push ecx
call fcn.005ab7be
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.00522bb0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
inc edi
call fcn.00521890
cmp edi, eax
jb 0x58d580
jmp 0x58de1b
mov byte [ebp - 0x121], 1
jmp 0x58de2b
mov byte [ebp - 0x121], 0
lea ecx, [ebp - 0x120]
call fcn.00521300
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.005ab78d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
call fcn.005e8ee2
int3