Function at 0x5b1850
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 0x6ad0ff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x73c280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x154], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x158], esi
call fcn.005b17f0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b18b0
sub ecx, edx
lea esi, [edi + 4]
push ecx
push dword [ebp - 0x158]
mov ecx, esi
call fcn.00445140
push esi
call fcn.005062a0
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.0052d740
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x5b18ed
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x148]
call fcn.0052e8f0
test al, al
je 0x5b2708
lea ecx, [ebp - 0x148]
call fcn.0052f360
push str.spreadingflag
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x5b196d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b1963
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
jne 0x5b1975
xor al, al
jmp 0x5b197f
cmp dword [ebp - 0x150], 0
setne al
push str.maintainparallelflag
lea ecx, [ebp - 0x3c]
mov byte [edi + 0x1c], al
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x5b19e3
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b19d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2745
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
jne 0x5b19eb
xor al, al
jmp 0x5b19f5
cmp dword [ebp - 0x150], 0
setne al
push str.initialvelocity
lea ecx, [ebp - 0x3c]
mov byte [edi + 0x1d], al
call fcn.0043ef30
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x5b1a56
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b1a4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b274a
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x5b2708
push str.coneangle
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043f6b0
push str.rollangle
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [edi + 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043f6b0
push str.angularvelocity
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e2f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043f6b0
push str.gravity
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [edi + 0x38]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043f6b0
push str.hitonbackground
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
je 0x5b1b63
cmp dword [ebp - 0x150], 0
setne al
jmp 0x5b1b65
xor al, al
push str.hitonanothermonster
lea ecx, [ebp - 0x3c]
mov byte [edi + 0x68], al
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
je 0x5b1bad
cmp dword [ebp - 0x150], 0
setne al
jmp 0x5b1baf
xor al, al
push str.piercecount
lea ecx, [ebp - 0x3c]
mov byte [edi + 0x69], al
call fcn.0043ef30
lea eax, [edi + 0x6c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
jne 0x5b1beb
mov dword [edi + 0x6c], esi
push str.bombrange
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [edi + 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043f6b0
push str.bombeffect
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
add edi, 0x40
mov byte [ebp - 4], 0xc
push edi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e470
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
jne 0x5b1c60
push esi
push 0x6b311e
mov ecx, edi
call fcn.00445140
jmp 0x5b1ccf
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x50], 0
je 0x5b1ccf
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x5b1c76
mov eax, dword [edi]
push eax
call fcn.00505d90
add esp, 4
test al, al
jne 0x5b1cb5
push edi
lea ecx, [ebp - 0x148]
call fcn.0052e0e0
push eax
call fcn.00505c50
add esp, 4
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.005a0460
add esp, 0xc
mov ecx, edi
push eax
call fcn.00513572
lea ecx, [ebp - 0x3c]
call fcn.0043f6b0
cmp dword [edi + 0x14], 0xf
jbe 0x5b1cbd
mov edi, dword [edi]
mov ecx, dword [0x74ab60]
lea eax, [esi + 0x58]
push 0
push eax
push edi
call fcn.004f30d0
push str.homingflag
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
jne 0x5b1d0c
xor al, al
jmp 0x5b1d16
cmp dword [ebp - 0x150], 0
setne al
mov edi, dword [ebp - 0x154]
lea ecx, [ebp - 0x3c]
push str.homingstarttime
mov byte [edi + 0x5c], al
call fcn.0043ef30
lea eax, [edi + 0x64]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
test esi, esi
jne 0x5b1d63
mov dword [edi + 0x64], 0
push str.homingmaxangle
lea ecx, [ebp - 0xc8]
call fcn.0043ef30
lea eax, [edi + 0x60]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
jne 0x5b1da5
mov dword [edi + 0x60], esi
push str.range
lea ecx, [ebp - 0xc8]
call fcn.0043ef30
lea eax, [edi + 0x74]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
je 0x5b2708
push str.acceleration
lea ecx, [ebp - 0xc8]
call fcn.0043ef30
lea eax, [edi + 0x78]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e2f0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0043f6b0
test esi, esi
jne 0x5b1e41
movaps xmm0, xmmword [ebp - 0x40]
mov eax, esi
unpcklps xmm0, xmm0
movq qword [edi + 0x78], xmm0
mov dword [ebp - 0xb4], esi
mov dword [edi + 0x80], eax
xor esi, esi
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x154], esi
call fcn.0052e080
test eax, eax
je 0x5b26ff
lea eax, [ebp - 0x148]
mov dword [ebp - 0x158], eax
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x148]
call fcn.0052f220
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0a0
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
mov esi, dword [ebp - 0x58]
cmova ecx, dword [ebp - 0x68]
cmp esi, 0xa
jne 0x5b265d
mov edx, str.attachdata
sub esi, 4
jb 0x5b1ee1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5b1ee6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x5b1ed0
cmp esi, 0xfffffffc
je 0x5b1f1a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x5b1f13
cmp esi, 0xfffffffd
je 0x5b1f1a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5b1f13
cmp esi, 0xfffffffe
je 0x5b1f1a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x5b1f13
cmp esi, 0xffffffff
je 0x5b1f1a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x5b1f1a
sbb eax, eax
or eax, 1
jmp 0x5b1f1c
xor eax, eax
test eax, eax
jne 0x5b265d
xorps xmm0, xmm0
mov dword [ebp - 0x98], eax
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], al
push str.type
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
call fcn.0043ef30
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b1fa9
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b1f9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
jne 0x5b205d
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0x13
cmp ecx, 0xf
jbe 0x5b1fef
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b1fe5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x12
cmp ecx, 0xf
jbe 0x5b2042
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2038
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x16
jmp 0x5b26d0
push str.flytype
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b20bc
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b20b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.attachfile
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e470
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b211d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2113
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
jne 0x5b2143
cmp dword [ebp - 0x94], 0xf
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x98], esi
cmova eax, dword [ebp - 0xa8]
mov byte [eax], 0
jmp 0x5b227e
cmp dword [ebp - 0x98], 0
je 0x5b227e
cmp dword [ebp - 0x94], 0xf
lea eax, [ebp - 0xa8]
cmova eax, dword [ebp - 0xa8]
push eax
call fcn.00505d90
add esp, 4
test al, al
jne 0x5b225a
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0e0
push eax
call fcn.00505c50
add esp, 4
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.005a0460
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x5b2226
mov ecx, dword [ebp - 0x94]
cmp ecx, 0xf
jbe 0x5b21e3
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b21d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x5b225a
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2250
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
cmp dword [ebp - 0x94], 0xf
lea eax, [ebp - 0xa8]
mov ecx, dword [0x74ab60]
cmova eax, dword [ebp - 0xa8]
push 0
push 0
push eax
call fcn.004f31b0
push str.tailflag
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b22dd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b22d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
cmp dword [ebp - 0x150], 0
je 0x5b247a
push str.tailcolor
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x90], 1
call fcn.0043ef30
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3e0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b2350
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2346
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.taillength
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b23af
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b23a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.tailsize
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b240e
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2404
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.tailshaperect
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e0f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b246d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
cmp dword [ebp - 0x150], 0
setne byte [ebp - 0x80]
jmp 0x5b2481
mov byte [ebp - 0x90], 0
push str.roll
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b24dd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b24d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.distance
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b2539
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b252f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.period
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b2595
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b258b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.amplitude
lea ecx, [ebp - 0x3c]
call fcn.0043ef30
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e3f0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x5b25f1
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b25e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
lea ecx, [ebp - 0xb0]
push ecx
push eax
cmp eax, dword [esi + 8]
je 0x5b2619
push esi
call fcn.005b1310
add esp, 0xc
add dword [esi + 4], 0x44
jmp 0x5b2620
mov ecx, esi
call fcn.005b1010
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0x13
cmp ecx, 0xf
jbe 0x5b2682
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b2654
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
jmp 0x5b267f
cmp dword [edi + 0x18], 0xf
lea esi, [edi + 4]
jbe 0x5b2669
mov esi, dword [edi + 4]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x149]
call fcn.005b16d0
push esi
push eax
call fcn.00505750
add esp, 8
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x12
cmp ecx, 0xf
jbe 0x5b26ba
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5b26b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b2740
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x148]
call fcn.0052f340
mov esi, dword [ebp - 0x154]
lea ecx, [ebp - 0x148]
inc esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x154], esi
call fcn.0052e080
cmp esi, eax
jb 0x5b1e70
mov byte [ebp - 0x149], 1
jmp 0x5b270f
mov byte [ebp - 0x149], 0
lea ecx, [ebp - 0x148]
call fcn.0052d9a0
mov al, byte [ebp - 0x149]
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.005c8a4d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0064e36a
call fcn.0064e36a
call fcn.0064e36a
int3