Function at 0x45ef10
Capabilities:
Packed with generic packer

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esp + 0x14]
push edi
push eax
push esi
call fcn.004675c0
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45ef38
jmp 0x7b93fb
call fcn.00464390
mov edx, dword [esi]
mov ecx, dword [esi + 0x94]
test ecx, ecx
mov eax, dword [edx + 0x820]
mov ebp, dword [eax + 8]
jne 0x45ef56
xor edi, edi
jmp 0x45ef7d
movzx eax, cx
cmp eax, dword [ebp + 8]
jb 0x45ef62
xor edi, edi
jmp 0x45ef7d
lea eax, [eax + eax*4]
shl eax, 5
add eax, dword [ebp]
xor edx, edx
cmp dword [eax + 0x9c], ecx
setne dl
sub edx, 1
and edx, eax
mov edi, edx
mov ecx, dword [esi + 0x98]
xor ebx, ebx
test ecx, ecx
je 0x45efa8
movzx eax, cx
cmp eax, dword [ebp + 8]
jae 0x45efa8
lea eax, [eax + eax*4]
shl eax, 5
add eax, dword [ebp]
cmp dword [eax + 0x9c], ecx
setne bl
sub ebx, 1
and ebx, eax
cmp dword [esi + 0x24], 0x1c
jne 0x45f001
cmp dword [esp + 0x1c], 1
jne 0x45f001
mov eax, dword [esi + 0x9c]
and eax, 0xffff
lea edi, [eax + eax*4]
shl edi, 5
add edi, dword [ebp]
push 0x14
push edi
call fcn.00473310
fld dword [0x679690]
push str.anim_splitpea_shooting
fstp dword [edi + 8]
mov ecx, edi
mov dword [edi + 0x10], 3
call fcn.00473280
mov dword [esi + 0x90], 0x1a
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test ebx, ebx
je 0x45f09e
push str.anim_shooting
call fcn.004732c0
test al, al
je 0x45f09e
push 0x14
push ebx
call fcn.00473310
fld dword [0x679690]
push str.anim_shooting
fstp dword [ebx + 8]
mov ecx, ebx
mov dword [ebx + 0x10], 3
call fcn.00473280
mov eax, dword [esi + 0x24]
cmp eax, 7
mov dword [esi + 0x90], 0x23
je 0x45f081
cmp eax, 0x1c
je 0x45f081
cmp eax, 0x34
je 0x45f081
cmp eax, 0x28
jne 0x45f287
fld dword [0x6797f0]
mov al, 1
fstp dword [ebx + 8]
mov dword [esi + 0x90], 0x64
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
fld dword [0x679680]
mov al, 1
fstp dword [ebx + 8]
mov dword [esi + 0x90], 0x1a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ebp, 0x20
cmp dword [esi + 0x3c], ebp
jne 0x45f0d7
fld dword [0x679690]
push ecx
fstp dword [esp]
push 3
push str.anim_shootinghigh
lea ecx, [ebp - 0xc]
mov eax, esi
call fcn.0045fd90
mov dword [esi + 0x90], 0x17
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x24]
cmp eax, 0x2a
jne 0x45f10e
fld dword [0x679748]
push ecx
fstp dword [esp]
push 3
lea ecx, [eax - 0x16]
push str.anim_shooting
mov eax, esi
call fcn.0045fd90
mov dword [esi + 0x90], 0xc8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp eax, 0x2b
jne 0x45f142
fld dword [0x66541c]
push ecx
fstp dword [esp]
push 3
lea ecx, [eax - 0x21]
push str.anim_shooting
mov eax, esi
call fcn.0045fd90
mov dword [esi + 0x90], 0x32
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test edi, edi
je 0x45f272
push str.anim_shooting
mov ebx, edi
call fcn.004732c0
test al, al
je 0x45f272
fld dword [0x679690]
push ecx
fstp dword [esp]
push 3
push str.anim_shooting
mov ecx, 0x14
mov eax, esi
call fcn.0045fd90
mov eax, dword [esi + 0x24]
cmp eax, 0xa
je 0x45f12e
cmp eax, 8
jne 0x45f19c
mov dword [esi + 0x90], 0x1d
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp eax, 0xd
jne 0x45f1b5
mov dword [esi + 0x90], 0x19
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp eax, ebp
jne 0x45f1c9
mov dword [esi + 0x90], ebp
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp eax, 0x27
je 0x45f25e
cmp eax, 0x2c
je 0x45f25e
cmp eax, 0x22
jne 0x45f241
mov eax, 4
call fcn.005af400
test eax, eax
jne 0x45f22d
mov eax, dword [esi]
mov ecx, dword [eax + 0x820]
mov eax, dword [esi + 0x94]
mov edx, dword [ecx + 8]
and eax, 0xffff
lea edi, [eax + eax*4]
push 0
shl edi, 5
add edi, dword [edx]
push str.Cornpult_butter
push edi
call fcn.00473a40
push 0xffffffffffffffff
push str.Cornpult_kernal
push edi
call fcn.00473a40
mov dword [esi + 0x3c], 0x27
mov dword [esi + 0x90], 0x1e
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
sub eax, 0x1a
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 0x23
mov dword [esi + 0x90], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov dword [esi + 0x90], 0x24
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push esi
call fcn.00466e00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8